hey does anyone know what models use this code:
Code:
# first line for this forum's annoying l-strip
switch( PolySize )
if case( 0x00 ):
FaceCount = PolyAmount
FaceStart = ugeGetFileOffset()
VerStart = (FaceCount * 2) + FaceStart
StartDirection = 1
f1 = u16(big=big) + 1
f2 = u16(big=big) + 1
FaceDirection = StartDirection
while ugeGetFileOffset() != VerStart:
f3 = u16(big=big)
if f3==0xFFFF:
f1 = u16(big=big) + 1
f2 = u16(big=big) + 1
FaceDirection = StartDirection
else:
f3 += 1
FaceDirection *= -1
if (f1!=f2)and(f2!=f3)and(f3!=f1): Face_array.append( [f3,f2,f1] if FaceDirection > 0 else [f2,f3,f1] )
f1 = f2
f2 = f3