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

Method loadShadowModel

src/Sato/GeographyObj.cpp:107–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void GeographyObj::loadShadowModel(J3DModelData *modelData, u32 param_2)
108{
109 if (!modelData) { return; }
110
111 u8 viewCtrlModelFlags = 0xf;
112 if (param_2 == 0xff) { viewCtrlModelFlags = 0x10; }
113
114 mShadowMdl = new ShadowModel(viewCtrlModelFlags, getShadowKind(), -1);
115 mShadowMdl->setModelData(modelData);
116}
117
118void GeographyObj::setModelMatrixAndScale()
119{

Callers

nothing calls this directly

Calls 1

setModelDataMethod · 0.80

Tested by

no test coverage detected