| 2741 | } |
| 2742 | |
| 2743 | void ShapeBase::renderMountedImage( U32 imageSlot, TSRenderState &rstate, SceneRenderState *state ) |
| 2744 | { |
| 2745 | GFX->pushWorldMatrix(); |
| 2746 | |
| 2747 | MatrixF mat; |
| 2748 | getRenderImageTransform(imageSlot, &mat, rstate.getSceneState()->isShadowPass()); |
| 2749 | GFX->setWorldMatrix( mat ); |
| 2750 | |
| 2751 | MountedImage& image = mMountedImageList[imageSlot]; |
| 2752 | U32 imageShapeIndex = getImageShapeIndex(image); |
| 2753 | image.shapeInstance[imageShapeIndex]->animate(); |
| 2754 | image.shapeInstance[imageShapeIndex]->render( rstate ); |
| 2755 | |
| 2756 | GFX->popWorldMatrix(); |
| 2757 | } |
| 2758 | |
| 2759 | void ShapeBase::_renderBoundingBox( ObjectRenderInst *ri, SceneRenderState *state, BaseMatInstance *overrideMat ) |
| 2760 | { |
nothing calls this directly
no test coverage detected