/**

popular collection of scripts for all

*/
/** Search */

Home » Flash » Software »

Vector2D AS2 Class

 }

Vector2D AS2 Class

Hits: 22
*****
0.0
[[[Summary]]] Vector2D is an AS2 class that allows for 2 dimensional (x, y) vector math to be done in Flash. Extremely useful for any physics related Flash endeavor. [[[Variables]]] * X, Y - Components of the vector [[[Methods]]] * Clone() - Creates a new vector with the same values * Dot() - Finds the dot product between the vector and another vector * Length() - Gets the length of the vector * ProjectAlong() - Projects the vector along another vector * Normalize() - Normalizes the vector to a certain scale * GetUnitVector() - Gets the normalized form of the vector * Add(), Subtract(), Multiply(), Divide() - Operations on the vector and another vector * AddValue(), SubtractValue(), MultiplyValue(), DivideValue() - Operations on the vector and a value * Equal(), NotEqual(), Greater(), Less(), GreaterOrEqual(), LessOrEqual() - Boolean operations on the vector and another vector * ApproxEqual() - Boolean operation with tolerance on the vector and another
Date: Nov, 11 2005
Author: Matt Lentz, http://www.cubedstudios.com/blog/

License

 }
  • License #1
    • License Type: GPL
    • price: Free
  • License #2
    • License Type: GPL
    • price: Free
  • License #3
    • License Type: Commercial License
    • price: 24.00$

Ratings

 }
Number of Ratings: 0 Votes
Visitor Voting Booth:

   
1 2 3 4 5

Others Scripts

 }
{ Copyright } ©2006 NuclearScripts.com