Expand description
Minimal VectorSpace trait for generic vector math.
Defines Scalar type and core operation bounds. Use as compatibility layer across vector libraries (math, physics, rendering).
Implement once, use everywhere.
Traits§
- Affine
Space - Marker trait for affine spaces, types whose differences are vectors.
- Transform
- A transformation that maps vectors to vectors.
- Vector
Space - This trait specifies some type to be a vector type. It specifies the scalar type and is required for other vector types.
- Vector
Space Assign - This trait is automatically implemented for vector spaces, which also implement assignment operations.
Functions§
- interpolate
- Linear interpolation of two points.