mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 21:25:41 +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);
|
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
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue