MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / setFileDNA

Method setFileDNA

Extras/Serialize/BulletFileLoader/bFile.cpp:183–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void bFile::setFileDNA(int verboseMode, char *dnaBuffer, int dnaLen)
184{
185 mFileDNA = new bDNA();
186
187 ///mFileDNA->init will convert part of DNA file endianness to current CPU endianness if necessary
188 mFileDNA->init((char *)dnaBuffer, dnaLen, (mFlags & FD_ENDIAN_SWAP) != 0);
189
190 if (verboseMode & FD_VERBOSE_DUMP_DNA_TYPE_DEFINITIONS)
191 mFileDNA->dumpTypeDefinitions();
192}
193
194// ----------------------------------------------------- //
195void bFile::parseInternal(int verboseMode, char *memDna, int memDnaLength)

Callers 3

processBodyJointInfoMethod · 0.80
processBodyJointInfoMethod · 0.80
processBodyJointInfoMethod · 0.80

Calls 2

initMethod · 0.45
dumpTypeDefinitionsMethod · 0.45

Tested by

no test coverage detected