Esempio n. 1
0
File: GLX.cs Progetto: jpneary/GLES
 public static void UniformMatrix3(int location, bool transpose, ref Matrix3 matrix)
 {
     unsafe
     {
         fixed(float *matrix_ptr = &matrix.Row0.X)
         {
             GL.UniformMatrix3(location, 1, transpose, matrix_ptr);
         }
     }
 }