MD2 loader/animator/drawing class is here!

BlitzMax Forums/BlitzMax OpenGL Programming/MD2 loader/animator/drawing class is here!

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.

Excellent... and if you change the OpenFile line in MD2Model.Load to include "littleendian::" it compiles and runs on OS X as well.
Local FileHandle:TStream = OpenFile("littleendian::" + FileName)

My understanding is that .MD2 uses little-endian byte ordering, whereas the Mac uses big-endian ordering so needs them switched; this change makes no difference to the little-endian PC.