MIST vecsub

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


mist.vec.sub

Added with: Mist 1.0
Description
Returns the vectorial subtraction of vec1 and vec2 (i.e., vec1 - vec2)
Syntax
vec3 mist.vec.sub(vec3 vector1 ,vec3 vector2 )
Valid Input Values:
vector1 = vec3

vector2 = 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