pub struct PhysicsFrame { /* private fields */ }Expand description
The affine frame the Domino chunks store: three basis columns and an origin, twelve floats in all.
The client reassembles it as dmMtx{axisX, axisY, axisZ} -> dmQuatFromMtx plus origin as the translation, giving a dmTransform.
Implementations§
Source§impl PhysicsFrame
impl PhysicsFrame
pub fn axis_x(&self) -> Vector3f
pub fn set_axis_x(&mut self, value: Vector3f)
pub fn axis_y(&self) -> Vector3f
pub fn set_axis_y(&mut self, value: Vector3f)
pub fn axis_z(&self) -> Vector3f
pub fn set_axis_z(&mut self, value: Vector3f)
pub fn origin(&self) -> Vector3f
pub fn set_origin(&mut self, value: Vector3f)
Trait Implementations§
Source§impl Debug for PhysicsFrame
impl Debug for PhysicsFrame
Source§impl Default for PhysicsFrame
impl Default for PhysicsFrame
Source§impl Drop for PhysicsFrame
impl Drop for PhysicsFrame
impl Send for PhysicsFrame
Auto Trait Implementations§
impl !Sync for PhysicsFrame
impl Freeze for PhysicsFrame
impl RefUnwindSafe for PhysicsFrame
impl Unpin for PhysicsFrame
impl UnsafeUnpin for PhysicsFrame
impl UnwindSafe for PhysicsFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more