Expand description
Dotrix wrapper around cgmath
This crate will either turn into our native implementation of become a wrapper to nalgebra.
Re-exports§
pub use math::slerp;
Modules§
- math
- Custom math functions
Structs§
Traits§
- Inner
Space - Vectors that also have a dot (or inner) product.
- Metric
Space - A type with a distance function between values.
- Rotation3
- A three-dimensional rotation.
- Square
Matrix - A column-major major matrix where the rows and column vectors are of the same dimensions.
- Vector
Space - Vectors that can be added together and multiplied by scalars.
Functions§
- clamp
- A value bounded by a minimum and a maximum
- clamp_
min - A value bounded by a minimum value
- perspective
- Create a perspective projection matrix.
Type Aliases§
- Mat4
- 4x4 Matrix of f32
- Point2
- 2 dimentional point of f32
- Point3
- 3 dimentional point of f32
- Quat
- Quaternion of f32
- Vec2
- 2 dimentional vector of f32
- Vec3
- 3 dimentional vector of f32
- Vec4
- 4 dimentional vector of f32
- Vec2i
- 2 dimentional vector of i32
- Vec2u
- 2 dimentional vector of u32
- Vec3i
- 3 dimentional vector of i32
- Vec4i
- 4 dimentional vector of i32