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]

Full constructor.

Identity constructor.

Returns the equivalent matrix representation for this transform.

Trait Implementations

impl Clone for Trs
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Trs
[src]

impl Debug for Trs
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Trs
[src]

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

This method tests for !=.

impl Display for Trs
[src]

Formats the value using the given formatter. Read more

impl Default for Trs
[src]

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

impl ApproxEq for Trs
[src]

Used for specifying relative comparisons.

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

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

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

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

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

The inverse of ApproxEq::relative_eq.

The inverse of ApproxEq::ulps_eq.

Auto Trait Implementations

impl Send for Trs

impl Sync for Trs