vectormath.vector.
BaseVector
Class to contain basic operations used by all Vector classes
as_length
Return a new vector scaled to given length
as_percent
Return a new vector scaled by given decimal percent
as_unit
Return a new vector scaled to length 1
cross
Cross product with another vector
dot
Dot product with another vector
length
Length of vector
normalize
Scale the length of a vector to 1 in place
x
x-component of vector
y
y-component of vector
BaseVectorArray
Class to contain basic operations used by all VectorArray classes
dims
Tuple of different dimension names for Vector type
Array of vector lengths
nV
Number of vectors
Scale the length of all vectors to 1 in place
Array of x-component of vectors
Array of y-component of vectors
Vector3
Primitive 3D vector defined from the origin
z
z-component of vector
Vector2
Primitive 2D vector defined from the origin
Vector3Array
List of Vector3
Cross product with another Vector3Array
Array of z-component of vectors
Vector2Array
List of Vector2