mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-11 16:30:48 +00:00
* BugFix: Clear some MSVC compiler warnings.
This commit is contained in:
parent
026409ed7f
commit
5d26dba7da
23 changed files with 24 additions and 111 deletions
|
|
@ -323,8 +323,6 @@ void AdvancedLightBinManager::_scoreLights(const MatrixF& cameraTrans)
|
|||
{
|
||||
if (dist > smLightFadeStart)
|
||||
{
|
||||
F32 brightness = light.lightInfo->getBrightness();
|
||||
|
||||
float fadeOutAmt = (dist - smLightFadeStart) / (smLightFadeEnd - smLightFadeStart);
|
||||
fadeOutAmt = 1 - fadeOutAmt;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue