| 378 | } |
| 379 | |
| 380 | void StringObj::setCurrentViewNo(const u32 viewNo) { |
| 381 | |
| 382 | ExModel *exModel = mExModel; |
| 383 | for (u32 i = 0; i < mStringNodeMgr->mStrNodeList.getNumLinks() - 1; i++, exModel++) { |
| 384 | exModel->setCurrentViewNo(viewNo); |
| 385 | |
| 386 | JGeometry::TVec3f pos; |
| 387 | mStringNodeMgr->getNodePos(i, &pos); |
| 388 | |
| 389 | Mtx lightMtx; |
| 390 | ObjUtility::getCamDependLightMtx(viewNo, pos, lightMtx); |
| 391 | mExModel[i].setEffectMtx(lightMtx, 0); |
| 392 | } |
| 393 | } |
| 394 | |
| 395 | void StringObj::drawSimpleModel(u32 p1, Mtx mtx1, J3DUClipper *j3duClipper, Mtx mtx2) { |
| 396 | SimpleDrawer simpleDrawer; |
no test coverage detected