Vector/Vector2: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (remove vars)
m (Restructure)
Line 3: Line 3:
The Vector2 class is a class introduced in 1.4
The Vector2 class is a class introduced in 1.4


===Methods===
==Methods==
*[[Vector2.create|create]]
===create===
*[[Vector2.normalize|normalize]]
===normalize===
*[[Vector2.dot|dot]]
===dot===


*[[Vector2.getLength|getLength]]
===getX and setX===
*[[Vector2.getSquaredLength|getSquaredLength]]
===getY and setY===
*[[Vector2.getNormalized|getNormalized]]
===getNormalized===
*[[Vector2.getX|getX]]
===getSquaredLength===
*[[Vector2.getY|getY]]
===getLength===
*[[Vector2.setX|setX]]
*[[Vector2.setY|setY]]

Revision as of 21:36, 2 February 2015

The Vector2 class is a class introduced in 1.4

Methods

create

normalize

dot

getX and setX

getY and setY

getNormalized

getSquaredLength

getLength