Commit Graph

7 Commits (0e0e3f833accab6e746911548efc13b113bc9c2a)

Author SHA1 Message Date
_ 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