9 Commits

Author SHA1 Message Date
gentlegiantJGC
48022db264 Added some missing things from the camera rewrite 2021-01-16 11:53:18 +00:00
gentlegiantJGC
5315a7c684 Reformatted 2020-11-28 10:53:08 +00:00
gentlegiantJGC
e0fa1238b3 Added an orthographic projection and a toggle between them 2020-11-25 17:01:57 +00:00
gentlegiantJGC
a45460f780 Mostly finished up structure loading and unloading 2020-11-10 17:54:28 +00:00
gentlegiantJGC
53d5dadb76 Reformatted 2020-10-23 10:57:40 +01:00
gentlegiantJGC
f4f6a9ac08 Fixed rotation values to match Minecraft and partially solved the transpose issue
OpenGL requires the transformation matrix to be the transpose of what it would normally be.
I made two bugs when implementing this that canceled each other out.
I am slowly pushing the transpose issue further down into the code until there will be only one transpose when handing the value over to OpenGL.
Doing it in one go lead to lots of issues that were virtually impossible to solve
2020-10-22 17:37:50 +01:00
gentlegiantJGC
e3f926de8b Resolved the issues calling the fixed matrix functions
I believe the actual matrix functions are now working as they should be however all this code depends on them being the transpose of the true value.
I don't understand why any of this works but somehow it does.
2020-10-22 12:20:15 +01:00
gentlegiantJGC
bbdf24d42d Fixed calls to the new matrix functions 2020-10-22 09:23:48 +01:00
gentlegiantJGC
82cd25986c moved opengl, lang and config into api 2020-08-07 13:59:12 +01:00