Vector3D class: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "<DESCRIPTION HERE> ===Metamethods=== *__tostring *__gc *__add *__sub *__mul *[[Vector3_div|_...")
 
No edit summary
Line 3: Line 3:
===Metamethods===
===Metamethods===


*[[Vector3_tostring|__tostring]]
*[[Vector3D.__tostring|__tostring]]
*[[Vector3_gc|__gc]]
*[[Vector3D.__gc|__gc]]
*[[Vector3_add|__add]]
*[[Vector3D.__add|__add]]
*[[Vector3_sub|__sub]]
*[[Vector3D.__sub|__sub]]
*[[Vector3_mul|__mul]]
*[[Vector3D.__mul|__mul]]
*[[Vector3_div|__div]]
*[[Vector3D.__div|__div]]
*[[Vector3_pow|__pow]]
*[[Vector3D.__pow|__pow]]
*[[Vector3_unm|__unm]]
*[[Vector3D.__unm|__unm]]
*[[Vector3_eq|__eq]]
*[[Vector3D.__eq|__eq]]


===Methods===
===Methods===


*[[Vector3.create|create]]
*[[Vector3D.create|create]]
*[[Vector3.getLength|getLength]]
*[[Vector3D.getLength|getLength]]
*[[Vector3.getSquaredLength|getSquaredLength]]
*[[Vector3D.getSquaredLength|getSquaredLength]]
*[[Vector3.getNormalized|getNormalized]]
*[[Vector3D.getNormalized|getNormalized]]
*[[Vector3.getX|getX]]
*[[Vector3D.getX|getX]]
*[[Vector3.getY|getY]]
*[[Vector3D.getY|getY]]
*[[Vector3.getZ|getZ]]
*[[Vector3D.getZ|getZ]]
*[[Vector3.normalize|normalize]]
*[[Vector3D.normalize|normalize]]
*[[Vector3.cross|cross]]
*[[Vector3D.cross|cross]]
*[[Vector3.dot|dot]]
*[[Vector3D.dot|dot]]
*[[Vector3.setX|setX]]
*[[Vector3D.setX|setX]]
*[[Vector3.setY|setY]]
*[[Vector3D.setY|setY]]
*[[Vector3.setZ|setZ]]
*[[Vector3D.setZ|setZ]]


===Variables===
===Variables===


*[[Vector3.x|x]]
*[[Vector3D.x|x]]
*[[Vector3.y|y]]
*[[Vector3D.y|y]]
*[[Vector3.z|z]]
*[[Vector3D.z|z]]
*[[Vector3.length|length]]
*[[Vector3D.length|length]]
*[[Vector3.squaredLength|squaredLength]]
*[[Vector3D.squaredLength|squaredLength]]
*[[Vector3.normalized|normalized]]
*[[Vector3D.normalized|normalized]]

Revision as of 19:57, 9 December 2013