pub struct PoseSample {
pub t_ms: u64,
pub pos: Vec3,
pub rot: Quat,
pub vel: Vec3,
pub anim: u8,
}Expand description
One sampled pose of a traveler. t_ms is a monotonic local arrival time —
the transport stamps it on receipt so interpolation shares one clock.
Fields§
§t_ms: u64§pos: Vec3§rot: Quat§vel: Vec3§anim: u8Locomotion/animation state (idle/walk/run/…) — used once avatars animate.
Trait Implementations§
Source§impl Clone for PoseSample
impl Clone for PoseSample
impl Copy for PoseSample
Auto Trait Implementations§
impl Freeze for PoseSample
impl RefUnwindSafe for PoseSample
impl Send for PoseSample
impl Sync for PoseSample
impl Unpin for PoseSample
impl UnsafeUnpin for PoseSample
impl UnwindSafe for PoseSample
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