Open GoogleCodeExporter opened 9 years ago
I should note the it seems like a known issue.
The indices property of the IndexedVertexList is NOT exactly as the one given
in the factory method, but rather offset by a value.
This however nullifies the usefulness of write-access to the indices property.
Moreover, the resize method also turns useless since it's the added indices
can't easily be added to the resized area.
A solution might be adding the offset in the set method of the indices property.
As for performance, a slower approach such as this to writing is better than
not having this feature at all.
Such a solution allows for indexed_vertex_buffer / add_indexed to incrementally
write the indices instead of pre-calculating all of them before the call.
Without simple write-access, indices can't be written incrementally
Without resizing, a new buffer must be allocated every time.
Original comment by sugoib...@gmail.com
on 22 Jan 2011 at 10:59
Original issue reported on code.google.com by
sugoib...@gmail.com
on 21 Jan 2011 at 10:08Attachments: