change math library

fixed bug
This commit is contained in:
Perfare
2019-01-03 08:55:43 +08:00
parent 33461e068f
commit e6ed312de2
28 changed files with 2011 additions and 90 deletions

View File

@ -16,6 +16,8 @@ using AssetStudio;
using static AssetStudioGUI.Studio;
using Object = AssetStudio.Object;
using Font = AssetStudio.Font;
using Vector3 = OpenTK.Vector3;
using Vector4 = OpenTK.Vector4;
namespace AssetStudioGUI
{
@ -1449,7 +1451,7 @@ namespace AssetStudioGUI
private void InitOpenTK()
{
ChangeGLSize(glControl1.Size);
GL.ClearColor(Color.CadetBlue);
GL.ClearColor(System.Drawing.Color.CadetBlue);
pgmID = GL.CreateProgram();
LoadShader("vs", ShaderType.VertexShader, pgmID, out int vsID);
LoadShader("fs", ShaderType.FragmentShader, pgmID, out int fsID);