dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
770 stars 300 forks source link

Always Get Identity Matrix ? #190

Open scupcg opened 4 years ago

scupcg commented 4 years ago
        gL.MatrixMode(OpenGL.GL_PROJECTION_MATRIX);
        gL.LoadIdentity();
        gL.Perspective(45.0D,1.0D, 0.1D, 100.0D);

        Matrix projection = gL.GetProjectionMatrix();