Module vec

Module vec 

Source
Expand description

multi dimensional column vector with generic vec2, vec3 and vec4 implementations

Structs§

Vec2
Vec3
Vec4

Traits§

Cross
trait for cross product, this is implemented for Vec3
Dot
trait for dot product
Magnitude
trait for operations involve vector magnitude or dot product
Nlerp
trait for normalized interpolation, which is applicable with vec and quat
SignedVecN
trait for vectors of signed types to allow Neg
Slerp
trait for spherical interpolation, which is applicable with vec and quat
Triple
trait for scalar and vector triple products
VecFloatOps
operations to apply to n-dimensional vectors
VecN
generic vec trait to allow sized vectors to be treated generically

Functions§

splat2d
splat2f
splat2i
splat2u
splat3d
splat3f
splat3i
splat3u
splat4d
splat4f
splat4i
splat4u
vec2d
vec2f
vec2i
vec2u
vec3d
vec3f
vec3i
vec3u
vec4d
vec4f
vec4i
vec4u