mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:25:28 +00:00
Use CreateRotationY instead of the deprecated RotateY.
This commit is contained in:
parent
6c9eb1dbf2
commit
ba7f7ea6eb
|
@ -190,7 +190,7 @@ void main(void)
|
|||
|
||||
protected override void OnUpdateFrame(FrameEventArgs e)
|
||||
{
|
||||
Matrix4 rotation = Matrix4.RotateY((float)e.Time);
|
||||
Matrix4 rotation = Matrix4.CreateRotationY((float)e.Time);
|
||||
Matrix4.Mult(ref rotation, ref modelviewMatrix, out modelviewMatrix);
|
||||
GL.UniformMatrix4(modelviewMatrixLocation, false, ref modelviewMatrix);
|
||||
|
||||
|
|
Loading…
Reference in a new issue