mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Merge pull request #2236 from Azaezel/memberMess
cleans up all 'hides' warnings (at time of writing)
This commit is contained in:
commit
5a1af9ccd7
233 changed files with 4370 additions and 4418 deletions
|
|
@ -665,7 +665,7 @@ S32 TSShapeInstance::setDetailFromDistance( const SceneRenderState *state, F32 s
|
|||
|
||||
// We're inlining SceneRenderState::projectRadius here to
|
||||
// skip the unnessasary divide by zero protection.
|
||||
F32 pixelRadius = ( mShape->radius / scaledDistance ) * state->getWorldToScreenScale().y * pixelScale;
|
||||
F32 pixelRadius = ( mShape->mRadius / scaledDistance ) * state->getWorldToScreenScale().y * pixelScale;
|
||||
F32 pixelSize = pixelRadius * smDetailAdjust;
|
||||
|
||||
if ( pixelSize < smSmallestVisiblePixelSize ) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue