Closed CheezeCake closed 8 years ago
This fixes some errors in the JOE format documentation.
The magic number is 0x32504449, and not 0x1F722AADB. 0x1F722AADB doesn't even fit on 32 bits.
The face blocks come before the frame header, not after. You can see in src/graphics/model_joe03.cpp that the faces are read before the 3 integers forming the frame header (https://github.com/VDrift/vdrift/blob/master/src/graphics/model_joe03.cpp#L295).
Yeah, joe is derived from md2, uses the same magic number "IDP2".
This fixes some errors in the JOE format documentation.
The magic number is 0x32504449, and not 0x1F722AADB. 0x1F722AADB doesn't even fit on 32 bits.
The face blocks come before the frame header, not after. You can see in src/graphics/model_joe03.cpp that the faces are read before the 3 integers forming the frame header (https://github.com/VDrift/vdrift/blob/master/src/graphics/model_joe03.cpp#L295).