Struct euler::Trs [] [src]

pub struct Trs {
    pub t: Vec3,
    pub r: Quat,
    pub s: Vec3,
}

Single-precision translation + rotation + non-uniform scale transform.

Fields

Translation vector.

Rotation quaternion.

Non-uniform scale factor.

Methods

impl Trs
[src]

[src]

Full constructor.

[src]

Identity constructor.

[src]

Returns the equivalent matrix representation for this transform.

Trait Implementations

impl Clone for Trs
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Trs
[src]

impl Debug for Trs
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Trs
[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 Display for Trs
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Trs
[src]

[src]

Returns the "default value" for a type. Read more

impl ApproxEq for Trs
[src]

Used for specifying relative comparisons.

[src]

The default tolerance to use when testing values that are close together. Read more

[src]

The default relative tolerance for testing values that are far-apart. Read more

[src]

The default ULPs to tolerate when testing values that are far-apart. Read more

[src]

A test for equality that uses a relative comparison if the values are far apart.

[src]

A test for equality that uses units in the last place (ULP) if the values are far apart.

[src]

The inverse of ApproxEq::relative_eq.

[src]

The inverse of ApproxEq::ulps_eq.