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.

BTW in case you are not familiar with binary stuff, ThisTri And 1 checks if bit 0 of the index number is set, as it will be for all odd numbers. In Binary, Decimal 1=1, 2=10, 3=11, 4=100, 5=101 and so on. The AND operator in blitz performs a bitwise AND which returns a result that has bits set only if those bits are set in both the operands. The if condition evaluates any non zero Integer result as true.