[Internal] Seperate InternalIO into different static classes. [Matrix] Fix logic error of compute model.

This commit is contained in:
Youmu Liu
2025-10-27 19:59:12 +08:00
parent 1c9b820531
commit e1ec761e83
46 changed files with 2572 additions and 2310 deletions
+3 -3
View File
@@ -158,12 +158,12 @@ namespace StgSharp.Graphics
/**/
protected internal static void PollEvents()
{
InternalIO.glfwPollEvents();
GraphicFramework.glfwPollEvents();
}
private protected void SwapBuffers()
{
InternalIO.glfwSwapBuffers(CanvasHandle);
GraphicFramework.glfwSwapBuffers(CanvasHandle);
}
/**/
@@ -209,7 +209,7 @@ namespace StgSharp.Graphics
nativeCamera = new Camera();
PlatformSpecifiedInitialize();
CustomizeInit();
InternalIO.glfwMakeContextCurrent(IntPtr.Zero);
GraphicFramework.glfwMakeContextCurrent(IntPtr.Zero);
}
internal abstract void PlatformSpecifiedInitialize();