3 Vertices

Blitz3D Forums/Blitz3D Programming/3 Vertices

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Basically the first 'square' will be made up of triangle 0 and 1, the second is triangle 2 and 3 and so on.

So, if your pick returns an even number triangle then the other triangle that makes up the square will be the next triangle in the mesh 'ThisTri+1' but if the pick returns an odd number triangle then the other triangle making up the square will be the previous triangle 'ThisTri-1'