Struct machinery_api::foundation::MathApi[][src]

#[repr(C)]
pub struct MathApi { pub mat44_multiply: Option<unsafe extern "C" fn(res: *mut Mat44T, lhs: *const Mat44T, rhs: *const Mat44T)>, pub mat44_inverse: Option<unsafe extern "C" fn(res: *mut Mat44T, m: *const Mat44T)>, pub mat44_determinant: Option<unsafe extern "C" fn(m: *const Mat44T) -> f32>, pub mat44_determinant33: Option<unsafe extern "C" fn(m: *const Mat44T) -> f32>, pub mat44_to_quaternion: Option<unsafe extern "C" fn(m: *const Mat44T) -> Vec4T>, pub mat44_to_translation_quaternion_scale: Option<unsafe extern "C" fn(t: *mut Vec3T, r: *mut Vec4T, s: *mut Vec3T, m: *const Mat44T)>, }

Fields

mat44_multiply: Option<unsafe extern "C" fn(res: *mut Mat44T, lhs: *const Mat44T, rhs: *const Mat44T)>mat44_inverse: Option<unsafe extern "C" fn(res: *mut Mat44T, m: *const Mat44T)>mat44_determinant: Option<unsafe extern "C" fn(m: *const Mat44T) -> f32>mat44_determinant33: Option<unsafe extern "C" fn(m: *const Mat44T) -> f32>mat44_to_quaternion: Option<unsafe extern "C" fn(m: *const Mat44T) -> Vec4T>mat44_to_translation_quaternion_scale: Option<unsafe extern "C" fn(t: *mut Vec3T, r: *mut Vec4T, s: *mut Vec3T, m: *const Mat44T)>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.