Difference between revisions of "MIST vecCP"

From DCS World Wiki - Hoggitworld.com
 
(No difference)

Latest revision as of 23:14, 13 April 2018

vec1= vec3

mist.vec.cp

Added with: Mist 1.0
Description
Returns the cross product of vec1 and vec2 (ie, vec1 X vec2)
Syntax
table mist.vec.cp(table vec1 ,table vec2 )
Valid Input Values:
vec1= vec3

vec2= vec3

Return value:
table
Return example:
vec3
Usage Examples:
Notes:
Related Functions
add, sub, scalar_mult, dp, cp, mag, getUnitVec, rotateVec2, get2DDist, get3DDist, getHeadingPoints

Scripting Engine

MIST Root Page