MIST getUnitVec

From DCS World Wiki - Hoggitworld.com
Revision as of 23:14, 13 April 2018 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


mist.vec.getUnitVec

Added with: Mist 2.0
Description
Returns the unit vector of a vec3 point
Syntax
vec3 mist.vec.getUnitVec(vec3 vector )
Valid Input Values:
vec3
Return value:
vec3
Return example:
Usage Examples:
Notes:
Related Functions
add, sub, scalar_mult, dp, cp, mag, getUnitVec, rotateVec2, get2DDist, get3DDist, getHeadingPoints

Scripting Engine

MIST Root Page