[][src]Struct tm_sys::ffi::tm_math_api

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

Fields

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

Trait Implementations

impl Clone for tm_math_api[src]

impl Copy for tm_math_api[src]

impl Default for tm_math_api[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.