#[repr(C)]pub struct hkMatrix3 {
pub col0: hkVector4,
pub col1: hkVector4,
pub col2: hkVector4,
}
Expand description
Represents a 3x3 matrix in the Havok system.
This struct stores three hkVector4
columns, where each column represents a 4D vector
(x, y, z, w), though typically only the first three components (x, y, z) are used for 3x3 matrix operations.
§Memory Layout:
col0
: First column vector (0x00 - 0x0F)col1
: Second column vector (0x10 - 0x1F)col2
: Third column vector (0x20 - 0x2F)
Fields§
§col0: hkVector4
First column of the matrix.
- Offset: 0x00
col1: hkVector4
Second column of the matrix.
- Offset: 0x10
col2: hkVector4
Third column of the matrix.
- Offset: 0x20
Implementations§
Trait Implementations§
impl Copy for hkMatrix3
Auto Trait Implementations§
impl Freeze for hkMatrix3
impl RefUnwindSafe for hkMatrix3
impl Send for hkMatrix3
impl Sync for hkMatrix3
impl Unpin for hkMatrix3
impl UnwindSafe for hkMatrix3
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