Contains the Vector3 class, which encodes 3-vectors.
Author: Novak / cszach@proton.me
- Vector3
- ~Vector3
- .cross(vector) ⇒
Vector3
- .cross(vector) ⇒
- ~Vector3
Encodes 3-vectors, which are vectors that have 3 entries. Has all the class methods of Vector plus a method for computing cross products. See also Vector2 & Vector4.
Kind: inner class of Vector3
See: Vector for common properties
Returns the cross product of this 3-vector and another 3-vector. This vector remains intact.
Kind: instance method of Vector3
Returns: Vector3
- The cross product of the 2 vectors
Param | Type | Description |
---|---|---|
vector | Vector3 |
The vector to perform a cross product with. |