Struct rhusics_core::BodyPose[][src]

pub struct BodyPose<P, R> { /* fields omitted */ }

Transform component used throughout the library

Methods

impl<P, R> BodyPose<P, R> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>, 
[src]

Clear the dirty flag

Trait Implementations

impl<P: Clone, R: Clone> Clone for BodyPose<P, R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<P: Debug, R: Debug> Debug for BodyPose<P, R>
[src]

Formats the value using the given formatter. Read more

impl<P: PartialEq, R: PartialEq> PartialEq for BodyPose<P, R>
[src]

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

This method tests for !=.

impl<P, R> Pose<P, R> for BodyPose<P, R> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>, 
[src]

Create a new BodyPose with initial state given by the supplied position and rotation.

Set the rotation. Will also compute the inverse rotation. Sets the dirty flag.

Set the position. Sets the dirty flag.

Borrows the rotation attribute

Borrows the position attribute

impl<P, R> Transform<P> for BodyPose<P, R> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    R: Rotation<P>, 
[src]

Create an identity transformation. That is, a transformation which does nothing. Read more

Create a transformation that rotates a vector to look at center from eye, using up for orientation. Read more

Transform a vector using this transform.

Inverse transform a vector using this transform

Transform a point using this transform.

Combine this transform with another, yielding a new transformation which has the effects of both. Read more

Create a transform that "un-does" this one.

Combine this transform with another, in-place.

impl<P, R> TranslationInterpolate<P::Scalar> for BodyPose<P, R> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    P::Diff: VectorSpace + InnerSpace,
    R: Rotation<P> + Clone
[src]

Interpolate between self and other, using amount to calculate how much of other to use. Read more

impl<P, R> Interpolate<P::Scalar> for BodyPose<P, R> where
    P: EuclideanSpace,
    P::Scalar: BaseFloat,
    P::Diff: VectorSpace + InnerSpace,
    R: Rotation<P> + Interpolate<P::Scalar>, 
[src]

Interpolate between self and other, using amount to calculate how much of other to use. Read more

Auto Trait Implementations

impl<P, R> Send for BodyPose<P, R> where
    P: Send,
    R: Send

impl<P, R> Sync for BodyPose<P, R> where
    P: Sync,
    R: Sync