Behaviour of AddVertex()

Blitz3D Forums/Blitz3D Programming/Behaviour of AddVertex()

Gabriel(Posted 2003) [#1]
A fairly simple question, I hope. When you add a vertex to a surface, the vertex index returned should start at zero and keep going up, right?

Are there any circumstances under which I cannot rely upon a manually created cube occupying eight consecutive vertex indices? ( Or 4 for a quad, 50 for a cylinder, or whatever.. that bit isn't important. )


Floyd(Posted 2003) [#2]
I don't see how this could fail within a surface.

But if you really want to be sure you could examine the returned values.


Gabriel(Posted 2003) [#3]
Yeah, I've been testing, but I just wanted to make sure I hadn't missed anything.