Commit Graph

14 Commits (main)

Author SHA1 Message Date
_ 8a6d5518f1 Start to rig stuff for the aerodynamics test I wanted to make in the first place 2020-03-09 00:18:23 +00:00
_ afb0238c1b 🚧 still improving the pass system 2020-03-08 19:32:02 +00:00
_ 18da547bc5 Made some awful shadows 2020-03-07 03:36:05 +00:00
_ 24418bfa55 ♻️ Extract gpu_buffers.rs and renderable_model.rs 2020-02-17 03:06:52 +00:00
_ 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