WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

cross

Returns the cross product of this vector with another vector. The returned vector is at right angles to the other two.
Syntax
Vector3D. cross(other)
 
Parameters
TypeNameDescription
'other'
Specifies another Vector3D.
Returns
Vector3D
Example
Vector3D vec1(1,0,0);
Vector3D vec2(0,1,0);
Vector3D vec3 = vec1.cross(vec2);

 

 

Valid XHTML 1.0 Transitional