[][src]Module rgx::math::algebra

Linear algebra types and functions. Most of the code in this module was borrowed from the cgmath package.

Modules

cast

Structs

Matrix4

A 4 x 4, column major matrix

Ortho

An orthographic projection with arbitrary left/right/bottom/top distances

Point2
Vector2

2D vector.

Vector3

3D vector.

Vector4

4D vector.

Traits

Float

Generic trait for floating point numbers

One

Defines a multiplicative identity element for Self.

Zero

Defines an additive identity element for Self.

Functions

cast

Cast from one machine scalar to another.