* GLHelper.cs: Added Quaternion overload to GL.Uniform4.
This commit is contained in:
parent
e3252ee5d6
commit
eb75e708b7
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue