// loads up a 4x4 matrix into the uniform variable
loads up a 4x4 matrix into the uniform variable
loads up a 4x4 matrix into the uniform variable
pub fn load_matrix(&mut self, location: i32, data: Matrix4<f32>) {
        unsafe {
            gl::UniformMatrix4fv(
                location,
                1, gl::FALSE,
                data.as_ptr()
            )
        }
    }
pub fn load_matrix ( & mut self , location : i32 , data : Matrix4 < f32 > ) { unsafe { gl :: UniformMatrix4fv ( location , 1 , gl :: FALSE , data . as_ptr ( ) ) } }
loads up a 4x4 matrix into the uniform variable
loads up a 4x4 matrix into the uniform variable
&mut self
location
i32
data
Matrix4<f32>