Model.blob: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→MBBB) |
||
Line 5: | Line 5: | ||
=MBBB= | =MBBB= | ||
struct { | struct { | ||
uint32_t filenameOffset; // into MBFN chunk | #if {{Template:Sandbox/VersionRange|max_expansionlevel=7|max_exclusive=1}} | ||
uint32_t filenameOffset; // into MBFN chunk | |||
#else | |||
uint32_t fileDataId; | |||
#endi | |||
{{Template:Type|CAaBox}} boundingBox; // No idea of colision or vertex bounding box. | {{Template:Type|CAaBox}} boundingBox; // No idea of colision or vertex bounding box. | ||
} entries[]; | } entries[]; | ||
=MBFN= | =MBFN= | ||
char filenames[]; // zero-terminated, no file extensions. | char filenames[]; // zero-terminated, no file extensions. |
Revision as of 00:16, 19 August 2017
This is storing bounding boxes for all models. It was added in Cataclysm to help with streaming data.
MBVR
uint32_t version;
MBBB
struct { #if < uint32_t filenameOffset; // into MBFN chunk #else uint32_t fileDataId; #endi CAaBoxⁱ boundingBox; // No idea of colision or vertex bounding box. } entries[];
MBFN
char filenames[]; // zero-terminated, no file extensions.