Return to Snippet

Revision: 6461
at May 22, 2008 08:34 by Meestercor


Initial Code
	import flash.geom.Point;

	private function dist( toX:Number, toY:Number, fromX:Number, fromY:Number ) : Number {
		return Point.distance( new Point( toX, toY ), new Point( fromX, fromY ) );
	}

Initial URL

                                

Initial Description

                                

Initial Title
Actionscript distance

Initial Tags
textmate

Initial Language
Other