[][src]Trait dyon::embed::ConvertMat4

pub trait ConvertMat4: Sized {
    fn from(val: [[f32; 4]; 4]) -> Self;
fn to(&self) -> [[f32; 4]; 4]; }

Convert from and to mat4.

Required methods

fn from(val: [[f32; 4]; 4]) -> Self

Converts mat4 to self.

fn to(&self) -> [[f32; 4]; 4]

Converts from self to mat4.

Loading content...

Implementations on Foreign Types

impl ConvertMat4 for [[f32; 4]; 4][src]

Loading content...

Implementors

impl ConvertMat4 for Mat4[src]

Loading content...