Commit Graph

18 Commits (04328b3564fba9ca7665ab367f9981eeff673815)

Author SHA1 Message Date
_ 04328b3564 ♻️ refactor mesh loading 2020-03-08 01:45:35 +00:00
_ e4f8d3e1b3 Got the _good_ stencil shadows going 2020-03-07 15:05:59 +00:00
_ 376b06abc3 Make it look better 2020-03-07 14:16:51 +00:00
_ 18da547bc5 Made some awful shadows 2020-03-07 03:36:05 +00:00
_ e5b6d7839a Add func to retrieve mesh names 2020-03-07 02:23:23 +00:00
_ 24418bfa55 ♻️ Extract gpu_buffers.rs and renderable_model.rs 2020-02-17 03:06:52 +00:00
_ a1c21b92c9 Replace string lookups for uniforms with const int lookups 2020-02-17 02:57:30 +00:00
_ c4d6243d15 🚨 Fix clippy warnings 2020-02-17 02:09:13 +00:00
_ 1cc363f8d5 Removing test which no longer passes 2020-02-17 02:01:40 +00:00
_ e2b14f3dfb ♻️ Pull out shader source code to text files 2020-02-17 02:00:41 +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
_ 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
_ 6b9b2a4e93 Move main.rs to pumpkin.rs 2020-02-16 23:24:33 +00:00