Struct siege_math::quat::NQuat [] [src]

pub struct NQuat<F> { /* fields omitted */ }

Normalized unit quaternion

Methods

impl<F: FullFloat> NQuat<F>
[src]

[src]

impl<F: FullFloat> NQuat<F>
[src]

[src]

impl<F: FullFloat> NQuat<F>
[src]

[src]

Create an NQuat from an axis and angle

impl<F: FullFloat> NQuat<F>
[src]

[src]

Determine the axis/angle representation of an NQuat

impl<F: FullFloat> NQuat<F>
[src]

[src]

impl<F: FullFloat> NQuat<F>
[src]

[src]

impl<F: FullFloat> NQuat<F>
[src]

[src]

impl<F: FullFloat> NQuat<F>
[src]

[src]

This applies the NQuat as an operator to the vector v, yielding the rotated vector.

Trait Implementations

impl<F: Debug> Debug for NQuat<F>
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone> Clone for NQuat<F>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for NQuat<F>
[src]

impl<F: PartialEq> PartialEq for NQuat<F>
[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<F: Eq> Eq for NQuat<F>
[src]

impl<F: Hash> Hash for NQuat<F>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<F: FullFloat> Default for NQuat<F>
[src]

[src]

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

impl From<NQuat<f32>> for NQuat<f64>
[src]

[src]

Performs the conversion.

impl From<NQuat<f64>> for NQuat<f32>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> From<Quat<F>> for NQuat<F>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> From<NQuat<F>> for Quat<F>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> Mul for NQuat<F>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<F: FullFloat> Mul<Vec3<F>> for NQuat<F>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<F: FullFloat> From<NQuat<F>> for Mat3<F>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> From<Mat3<F>> for NQuat<F>
[src]

[src]

Performs the conversion.

impl<F: FullFloat> ApproxEq for NQuat<F>
[src]

[src]

This method tests for self and other values to be approximately equal using two methods: epsilon and ulps. If the values differ by less than the given epsilon, they will be considered equal. If the values differ by more than epsilon, but by less than the given ulps, they will also be considered equal. Otherwise they are unequal. Read more

[src]

This method tests for self and other values to be not approximately equal using two methods: epsilon and ulps. If the values differ by less than the given epsilon, they will be considered equal. If the values differ by more than epsilon, but by less than the given ulps, they will also be considered equal. Otherwise they are unequal. Read more

Auto Trait Implementations

impl<F> Send for NQuat<F> where
    F: Send

impl<F> Sync for NQuat<F> where
    F: Sync