PistonDevelopers / geometry

A structure for storing and look up 3D geometry
MIT License
6 stars 2 forks source link

Add `VertexRange<T>` #9

Closed bvssvni closed 9 years ago

bvssvni commented 9 years ago

This is not stored directly, because it is a result from converting vertices from some format into an vertex buffer of a custom format T. The offset from a VertexRange<T> is used to convert indices read from the format point to the vertices in the buffer. The range of the converted indices then becomes a Geometry.