MIST vecsub

From DCS World Wiki - Hoggitworld.com


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

Scripting Engine

MIST Root Page