Beispiel #1
0
 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);
         }
     }
 }