Struct adi_gpu_base::Mat4[][src]

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

A 4x4 Matrix

Methods

impl Mat4
[src]

Multiply self by a matrix.

Multiply self by a scale transformation matrix.

Multiply self by a translation matrix.

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

Trait Implementations

impl Display for Mat4
[src]

Formats the value using the given formatter. Read more

impl Clone for Mat4
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Mul<Vec4> for Mat4
[src]

The resulting type after applying the * operator.

Transform as a position.

impl Mul<Plane> for Mat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<Mat4> for Mat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<Frustum> for Mat4
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Mul<Vec3> for Mat4
[src]

The resulting type after applying the * operator.

Transform as a position.

impl Copy for Mat4
[src]

impl PartialEq<Mat4> for Mat4
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Mat4

impl Sync for Mat4