jfcameron / gdk-graphics

3D Rendering using OpenGLES 2.0/WebGL1.0. Platforms: Linux, Windows, Mac, x86 64bit, arm64, wasm
MIT License
1 stars 1 forks source link

batch model #63

Closed jfcameron closed 3 years ago

jfcameron commented 3 years ago

write a basic batch model: the vertex data of a batch model represents many instances of the same model or the verticies of different models which all share the same material.

batch model is not a core part of the api, however it is a useful abstraction on top of it. Because it is such a fundamental abstraction, I think it is worth storing the code directly in this project rather than an external one. will place its header in gdk/ext/ rather than gdk/ in order to communicate that it is not a core part of the library.

jfcameron commented 3 years ago

c98135b345e2927bec13172bfe001b7bb611332b