Struct euler::Transform [] [src]

pub struct Transform {
    pub translation: Vec3,
    pub rotation: Quat,
    pub scale: Vec3,
}

Translation + Rotation + Non-uniform Scale transform in 3D space.

Fields

Translation vector.

Rotation quaternion.

Non-uniform scaling.

Methods

impl Transform
[src]

[src]

Returns the identity transform.

[src]

Returns the equivalent matrix representation for this transform.

Trait Implementations

impl Clone for Transform
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Transform
[src]

impl Debug for Transform
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Transform
[src]

[src]

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

[src]

This method tests for !=.