vectorDiff: Difference between revisions
Categories:
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 13: | Line 13: | ||
|s1= vector1 [[vectorDiff]] vector2 | |s1= vector1 [[vectorDiff]] vector2 | ||
|p1= vector1: [[ | |p1= vector1: [[Vector3D]] or {{GVI|arma3|2.00}} [[Vector2D]] - z coordinate defaulted to 0 | ||
|p2= vector2: [[ | |p2= vector2: [[Vector3D]] or {{GVI|arma3|2.00}} [[Vector2D]] - z coordinate defaulted to 0 | ||
|r1= [[ | |r1= [[Vector3D] | ||
|x1= <sqf>hint str (velocity car vectorDiff velocity bike);</sqf> | |x1= <sqf>hint str (velocity car vectorDiff velocity bike);</sqf> | ||
Revision as of 11:11, 1 January 2026
{{RV|type=command
|game1= arma3 |version1= 1.22
|gr2= Math - Vectors
|descr= Subtracts one 3D vector from another. (vector1 - vector2)
|s1= vector1 vectorDiff vector2
|p1= vector1: Vector3D or
2.00 Vector2D - z coordinate defaulted to 0
|p2= vector2: Vector3D or
2.00 Vector2D - z coordinate defaulted to 0
|r1= [[Vector3D]
|x1=
|seealso= vectorAdd vectorCrossProduct vectorDotProduct vectorCos vectorMagnitude vectorMagnitudeSqr vectorMultiply vectorDistance vectorDistanceSqr vectorDir vectorUp setVectorDir setVectorUp setVectorDirAndUp vectorNormalized vectorFromTo }}
- Posted on Jun 28, 2014 - 09:09 (UTC)
-
1.22 Algorithm:
It is recommended to use vectorDiff instead of BIS_fnc_vectorDiff.