| 437 | void GeographyObj::createColModel(J3DModelData *) {} |
| 438 | |
| 439 | void GeographyObj::createShadowModel(JKRSolidHeap *heap, u32 param_2) |
| 440 | { |
| 441 | if (!mShadowMdl) { return; } |
| 442 | |
| 443 | mShadowMdl->createModel(heap, param_2, 0x60000); |
| 444 | CrsGround ground(RaceMgr::sRaceManager->getCourse()); |
| 445 | ground.search(this, mPos, mPos); |
| 446 | |
| 447 | Mtx assignedModelMatrix; |
| 448 | getAssignedModelMatrix(assignedModelMatrix); |
| 449 | |
| 450 | assignedModelMatrix[1][3] = ground.getHeight(); |
| 451 | |
| 452 | mShadowMdl->setBaseTRMtx(assignedModelMatrix); |
| 453 | mShadowMdl->getModel()->setBaseScale(mScale); |
| 454 | } |
| 455 | |
| 456 | stRandom *GeographyObj::getGeoRnd() |
| 457 | { |
nothing calls this directly
no test coverage detected