mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 01:45:37 +00:00
* GLHelper.cs: Added Quaternion overload to GL.Uniform4.
This commit is contained in:
parent
e3252ee5d6
commit
eb75e708b7
|
@ -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