| 888 | } |
| 889 | |
| 890 | void TSStatic::_renderNormals(ObjectRenderInst* ri, SceneRenderState* state, BaseMatInstance* overrideMat) |
| 891 | { |
| 892 | PROFILE_SCOPE(TSStatic_RenderNormals); |
| 893 | |
| 894 | GFXTransformSaver saver; |
| 895 | |
| 896 | MatrixF mat = getRenderTransform(); |
| 897 | mat.scale(mObjScale); |
| 898 | GFX->multWorld(mat); |
| 899 | |
| 900 | S32 dl = mShapeInstance->getCurrentDetail(); |
| 901 | mShapeInstance->renderDebugNormals(mRenderNormalScalar, dl); |
| 902 | } |
| 903 | |
| 904 | void TSStatic::onScaleChanged() |
| 905 | { |
nothing calls this directly
no test coverage detected