#[repr(C)]pub struct GTAQuat {
pub w: f32,
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
A rotation, as GTAQuat in gtaquat.hpp stores it: a glm::quat.
The SDK’s build defines GLM_FORCE_QUAT_DATA_WXYZ, so w comes first —
the server was built that way, and so is this.
Fields§
§w: f32§x: f32§y: f32§z: f32Implementations§
Trait Implementations§
impl Copy for GTAQuat
impl StructuralPartialEq for GTAQuat
Auto Trait Implementations§
impl Freeze for GTAQuat
impl RefUnwindSafe for GTAQuat
impl Send for GTAQuat
impl Sync for GTAQuat
impl Unpin for GTAQuat
impl UnsafeUnpin for GTAQuat
impl UnwindSafe for GTAQuat
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