mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
fixed tabs
This commit is contained in:
parent
c4e3a68f7c
commit
7b05314901
1 changed files with 10 additions and 12 deletions
|
|
@ -525,7 +525,6 @@ void TSStatic::prepRenderImage( SceneRenderState* state )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dist < mAlphaLODEnd)
|
if (dist < mAlphaLODEnd)
|
||||||
{
|
{
|
||||||
mAlphaLOD = ((dist - mAlphaLODStart) / (mAlphaLODEnd - mAlphaLODStart));
|
mAlphaLOD = ((dist - mAlphaLODStart) / (mAlphaLODEnd - mAlphaLODStart));
|
||||||
|
|
@ -537,7 +536,6 @@ void TSStatic::prepRenderImage( SceneRenderState* state )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dist > mAlphaLODStart)
|
if (dist > mAlphaLODStart)
|
||||||
{
|
{
|
||||||
mAlphaLOD -= ((dist - mAlphaLODStart) / (mAlphaLODEnd - mAlphaLODStart));
|
mAlphaLOD -= ((dist - mAlphaLODStart) / (mAlphaLODEnd - mAlphaLODStart));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue