Trait rhusics_core::Pose
source · pub trait Pose<P, R>: Transform<P>where
P: EuclideanSpace,{
fn new(position: P, rotation: R) -> Self;
fn set_rotation(&mut self, rotation: R);
fn set_position(&mut self, position: P);
fn rotation(&self) -> R;
fn position(&self) -> P;
}
Expand description
Pose abstraction
Required Methods
sourcefn set_rotation(&mut self, rotation: R)
fn set_rotation(&mut self, rotation: R)
Set rotation
sourcefn set_position(&mut self, position: P)
fn set_position(&mut self, position: P)
Set position