com.jimisaacs.geom.Vector2D

[featured_image]
com.jimisaacs.geom.Vector2D
Download is available until [expire_date]
  • Version [version]
  • Download 1300
  • File Size 4.58 KB
  • File Count 1
  • Create Date November 30, 2014
  • Last Updated November 30, 2014

com.jimisaacs.geom.Vector2D

This class was written before the Flash 10 release. To not conflict between the builtin Vector class added in Flash 10 (They are NOT the same thing), this class needed to be renamed, wrapped, or extended. As you can now see, I went with “Vector2D”. Vector2D is an extended Point. It has an extra property of angle to calculate directional movement. Movement methods beyond the move(a:Number, m:Number), simply wrap the move() method.


Posted

in

by

Tags:

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.