Crate dotrix_math[][src]

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

Deg

An angle, in degrees.

Rad

An angle, in radians.

Traits

InnerSpace

Vectors that also have a dot (or inner) product.

MetricSpace

A type with a distance function between values.

Rotation3

A three-dimensional rotation.

SquareMatrix

A column-major major matrix where the rows and column vectors are of the same dimensions.

VectorSpace

Vectors that can be added together and multiplied by scalars.

Functions

clamp

A value bounded by a minimum and a maximum

perspective

Create a perspective projection matrix.

Type Definitions

Mat4

4x4 Matrix of f32

Point3

3 dimentional point of f32

Quat

Quaternion of f32

Vec2

2 dimentional vector of f32

Vec3

3 dimentional vector of f32

Vec3i

3 dimentional vector of i32

Vec4

4 dimentional vector of f32

Vec4i

4 dimentional vector of i32