pub struct Hinge {
pub parent: i32,
pub p: [Point3; 2],
pub v: [Point3; 2],
pub vmin: i16,
pub vmax: i16,
pub htype: u8,
pub filler: [u8; 7],
}Expand description
One hinge / joint definition (hingetype in voxlaptest).
Fields§
§parent: i32Index of the parent hinge in the same Kfa, or -1 for none.
p: [Point3; 2]Anchor (“velcro”) points — p[0] on this object, p[1] on the
parent.
v: [Point3; 2]Rotation axes — same convention as p.
vmin: i16§vmax: i16§htype: u8§filler: [u8; 7]Trailing 7 bytes of padding inside the on-disk struct. Stored verbatim so byte-equal round-trip survives — files in the wild may carry non-zero bytes here.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hinge
impl RefUnwindSafe for Hinge
impl Send for Hinge
impl Sync for Hinge
impl Unpin for Hinge
impl UnsafeUnpin for Hinge
impl UnwindSafe for Hinge
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