* GLHelper.cs: Added Quaternion overload to GL.Uniform4.

This commit is contained in:
the_fiddler 2009-07-19 15:31:37 +00:00
parent e3252ee5d6
commit eb75e708b7

View file

@ -896,6 +896,11 @@ namespace OpenTK.Graphics
GL.Uniform4(location, color.R, color.G, color.B, color.A);
}
public static void Uniform4(int location, Quaternion quaternion)
{
GL.Uniform4(location, quaternion.X, quaternion.Y, quaternion.Z, quaternion.W);
}
#endregion
#endregion