Crate peridot_math

Source
Expand description

Peridot Extended Mathematics

Structs§

Camera
A camera
Matrix2
2x2 matrix
Matrix3
3x3 matrix
Matrix4
4x4 matrix
Matrix2x3
2x3 matrix
Matrix3x4
3x4 matrix
Quaternion
Arbitrary rotating
Vector2
2-dimensional vector
Vector3
3-dimensional vector
Vector4
4-dimensional vector

Enums§

ProjectionMethod
How the camera will project vertices?

Traits§

Max
Provides maximum value selector
Min
Provides minimum value selector
One
Provides one(multiple identity)
Real
Indicates real numbers type
Zero
Provides zero(additive identity)

Type Aliases§

Matrix2F32
Type alias for mat2 of f32
Matrix2x3F32
Type alias for mat23 of f32
Matrix3F32
Type alias for mat3 of f32
Matrix3x4F32
Type alias for mat34 of f32
Matrix4F32
Type alias for mat4 of f32
QuaternionF32
Type alias for qvec of f32
Vector2F32
Type alias for vec2 of f32
Vector3F32
Type alias for vec3 of f32
Vector4F32
Type alias for vec4 of f32