c# - OpenTK GL.MatrixMode and GL.LoadMatrix not found -


i'm trying fix problem while running 2 stackoverflow questons opengl opentk wrapper cannot projections work , opentk camera in c#. both state should use gl functions don't have!
doing wrong/how can those? 3 aren't available, following usings

gl.matrixmode() matrixmode.projection gl.loadmatrix()  using opentk.graphics.opengl4; using opentk; 

my guess missed using, since visual studio doesn't show me single hotfix i'm kind of lost

i couldn't find up-to-date documentation opentk, seems using statements import modern opengl functionality. said in comments, adding using opentk.graphics.opengl; imports older functions such in question.

modern opengl doesn't have functions matrices, must implement functionality yourself, eg. declaring matrix float matrix[ 16 ] , upload matrices uniforms using gl.uniformmatrix4.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -