#[repr(C)]pub struct tm_math_api {
pub mat44_multiply: Option<unsafe extern "C" fn(*mut tm_mat44_t, *const tm_mat44_t, *const tm_mat44_t)>,
pub mat44_inverse: Option<unsafe extern "C" fn(*mut tm_mat44_t, *const tm_mat44_t)>,
pub mat44_determinant: Option<unsafe extern "C" fn(*const tm_mat44_t) -> f32>,
pub mat44_determinant33: Option<unsafe extern "C" fn(*const tm_mat44_t) -> f32>,
pub mat44_to_quaternion: Option<unsafe extern "C" fn(*const tm_mat44_t) -> tm_vec4_t>,
pub mat44_to_translation_quaternion_scale: Option<unsafe extern "C" fn(*mut tm_vec3_t, *mut tm_vec4_t, *mut tm_vec3_t, *const tm_mat44_t)>,
}Fields§
§mat44_multiply: Option<unsafe extern "C" fn(*mut tm_mat44_t, *const tm_mat44_t, *const tm_mat44_t)>§mat44_inverse: Option<unsafe extern "C" fn(*mut tm_mat44_t, *const tm_mat44_t)>§mat44_determinant: Option<unsafe extern "C" fn(*const tm_mat44_t) -> f32>§mat44_determinant33: Option<unsafe extern "C" fn(*const tm_mat44_t) -> f32>§mat44_to_quaternion: Option<unsafe extern "C" fn(*const tm_mat44_t) -> tm_vec4_t>§mat44_to_translation_quaternion_scale: Option<unsafe extern "C" fn(*mut tm_vec3_t, *mut tm_vec4_t, *mut tm_vec3_t, *const tm_mat44_t)>Trait Implementations§
Source§impl Clone for tm_math_api
impl Clone for tm_math_api
Source§fn clone(&self) -> tm_math_api
fn clone(&self) -> tm_math_api
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for tm_math_api
Auto Trait Implementations§
impl Freeze for tm_math_api
impl RefUnwindSafe for tm_math_api
impl Send for tm_math_api
impl Sync for tm_math_api
impl Unpin for tm_math_api
impl UnwindSafe for tm_math_api
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