bvssvni / ld30

Ludum Dare 30 game
MIT License
2 stars 0 forks source link

Material Hashmap #6

Open bvssvni opened 10 years ago

bvssvni commented 10 years ago

Since .mtl files are shared among .obj files, one could put all the materials in one HashMap.

bvssvni commented 10 years ago

Alternative is to put it in a Vec and use indexes for mapping.