Sets this vector to the vector cross product of vectors v1 and v2.
SIVector3.Cross( SIVector3 in_pVector1, SIVector3 in_pVector2 ); |
SIVector3.Cross( v1, v2 ); |
dim v1, v2, v3 ' Create 3D vectors. set v1 = XSIMath.CreateVector3 set v2 = XSIMath.CreateVector3 set v3 = XSIMath.CreateVector3 v1.Set 1.0, 0.0, 0.0 v2.Set 0.0, 1.0, 0.0 v3.Cross v1, v2 |