pub struct Jaw {
pub bone: usize,
pub post: bool,
pub q: [i32; 4],
}Expand description
A local rotation folded into one bone before its children compose: the
GoldSrc mouth controller, which adds to one Euler angle of the jaw bone.
For a Z-rotation controller that is delta * local (post == false); for
an X-rotation controller it is local * delta (post == true).
Fields§
§bone: usizeHMA1 bone index, or usize::MAX for none.
post: bool§q: [i32; 4]Q12 quaternion (x, y, z, w); need not be unit length (the decoder renormalises the product).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Jaw
impl RefUnwindSafe for Jaw
impl Send for Jaw
impl Sync for Jaw
impl Unpin for Jaw
impl UnsafeUnpin for Jaw
impl UnwindSafe for Jaw
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)