Example #1
0
 public void SetUniform(Matrix2x3d matrix, int id)
 {
     GL.UniformMatrix2x3(id, true, ref matrix);
 }
Example #2
0
 public static void UniformMatrix2x3(int location, bool transpose, ref Matrix2x3d matrix)
 {
     unsafe
     {
         fixed (double* matrix_ptr = &matrix.Row0.X)
         {
             GL.UniformMatrix2x3(location, 1, transpose, matrix_ptr);
         }
     }
 }
Example #3
0
 private static void Set(int location, Matrix2x3d value) => GL.UniformMatrix2x3(location, false, ref value);