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

Vertex_Data: index buffer support #50

Closed jfcameron closed 3 years ago

jfcameron commented 3 years ago

add an index buffer member to vertex_data object. Should be optional, could be done via a default value since models will not generate an ibo if the provided index array is length 0.

jfcameron commented 3 years ago

221df5e7e7707cfe9979fe705488006d6780df6f