Struct ami::Mat4 [] [src]

pub struct Mat4(pub [f64; 16]);

A 4x4 Matrix

Methods

impl Mat4
[src]

[src]

Multiply self by a matrix.

[src]

Multiply self by a scale transformation matrix.

[src]

Multiply self by a translation matrix.

[src]

Multiply self by a rotation matrix. x, y and z are in PI Radians.

[src]

Convert into an array of f32s

Trait Implementations

impl Clone for Mat4
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Mat4
[src]

impl PartialEq for Mat4
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Mul<Frustum> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Plane> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Mul<Vec3> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Transform as a position.

impl Mul<Vec4> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Transform as a position.

impl Mul<Mat4> for Mat4
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Display for Mat4
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Mat4

impl Sync for Mat4