alexlarsson / gthree

Gthree is a GObject/Gtk+ port of three.js
MIT License
84 stars 13 forks source link

Clean up materials by sharing code #77

Open alexlarsson opened 4 years ago

alexlarsson commented 4 years ago

There is a lot of code in the various materials that could be shared as helper functions. For instance, all the various types of map uniform updates are all similar and could be centralized.