Trait dyon::embed::ConvertMat4
source · pub trait ConvertMat4: Sized {
// Required methods
fn from(val: [[f32; 4]; 4]) -> Self;
fn to(&self) -> [[f32; 4]; 4];
}
Expand description
Convert from and to mat4.
pub trait ConvertMat4: Sized {
// Required methods
fn from(val: [[f32; 4]; 4]) -> Self;
fn to(&self) -> [[f32; 4]; 4];
}
Convert from and to mat4.