MCPcopy Create free account
hub / github.com/doldecomp/mkdd / loadmodel

Method loadmodel

src/Sato/StringObj.cpp:293–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void StringObj::loadmodel(J3DModelData *modelData) {
294 ExModel *exModel = mExModel;
295 u32 i = 0;
296 while (i < mStringNodeMgr->mStrNodeList.getNumLinks()) {
297 exModel->setModelData(modelData);
298 RCMGetCourse()->setFogInfo(exModel);
299 exModel->setLODBias(
300 TexLODControl::getManager()->getLODBias(TexLODControl::cLODBiasID_3)
301 );
302 i++;
303 exModel++;
304 }
305}
306
307void StringObj::reset() {
308 for (u32 i = 0; i < mStringNodeMgr->mStrNodeList.getNumLinks(); i++) {

Callers 2

loadModelDataMethod · 0.45
loadMethod · 0.45

Calls 6

RCMGetCourseFunction · 0.85
setModelDataMethod · 0.80
setLODBiasMethod · 0.80
getLODBiasMethod · 0.80
getNumLinksMethod · 0.45
setFogInfoMethod · 0.45

Tested by

no test coverage detected