Squirrel/Script Types/Vector2D
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '__NOTOC__ The Vector2D type is a 2-dimensional vector used to set/return positions and rotations for elements that only require an X and Y value. == Constructor == <code>Vector…') |
Latest revision as of 20:31, 25 September 2011
The Vector2D type is a 2-dimensional vector used to set/return positions and rotations for elements that only require an X and Y value.
[edit] Constructor
Vector2D( float x, float y )
[edit] Values
- x - The X coordinate of the vector
- y - The Y coordinate of the vector
[edit] Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Explanation for the example
-- Todo