Type Definition turbine::math::Mat4 [] [src]

type Mat4 = [[f32; 4]; 4];

Matrix type.

Trait Implementations

impl Matrix for Mat4
[src]

[src]

Returns identity matrix.

[src]

Returns transposed matrix, switching rows and columns.

[src]

Returns inverted matrix.

[src]

Multiply with another matrix.

[src]

Transforms a vector in homogenous coordinates.

[src]

Transform a point.

[src]

Transform a vector.

[src]

Transforms a ray through the matrix.

[src]

Transforms a 3D point to frame buffer coordinates. Assumes that the matrix is model-view-projection. Read more