_
c4d6243d15
🚨 Fix clippy warnings
2020-02-17 02:09:13 +00:00
_
a41eb8b969
Switch to glDrawRangeElements
2020-02-17 02:03:53 +00:00
_
af4ef579c1
RenderableModel is now using VBOs.
...
And I made the sky model use RenderableModel, so there are no unsafe blocks
in the main file now.
2020-02-17 01:53:50 +00:00
_
0e0e3f833a
🚧 RenderableModel uses an index buffer now
2020-02-17 01:27:57 +00:00
_
5def012e85
Didn't end up adding GPU buffers, but I made the RenderableModel class.
...
This class clones all the data from iqm::Model that's needed to draw
a mesh / model safely, so I can draw it without unsafe. It can be
upgraded mostly in-place to use GPU buffers later on.
2020-02-17 01:22:05 +00:00
_
c415e9ed80
🚧 checkpoint before adding GPU buffers
2020-02-17 00:32:52 +00:00
_
d45b95961e
♻️ Safened all GL calls except those that actually do access arbitrary memory.
2020-02-16 23:49:38 +00:00
_
c6f71abbca
♻️ More safening
2020-02-16 23:48:26 +00:00
_
09ce9ab580
♻️ Make more safe wrappers
2020-02-16 23:44:01 +00:00
_
963b344122
♻️ Extract GLES functions that are trivially safe
2020-02-16 23:32:35 +00:00