VDrift / vdrift

VDrift source code
http://vdrift.net/
GNU General Public License v3.0
353 stars 96 forks source link

Documentation fixes #148

Closed CheezeCake closed 8 years ago

CheezeCake commented 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).

logzero commented 8 years ago

Yeah, joe is derived from md2, uses the same magic number "IDP2".