mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
shadowvar cleanup
This commit is contained in:
parent
d810e6d208
commit
248c5e9e69
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ F32 GameBase::getUpdatePriority(CameraScopeQuery *camInfo, U32 updateMask, S32 u
|
||||||
// Projectiles are more interesting if they
|
// Projectiles are more interesting if they
|
||||||
// are heading for us.
|
// are heading for us.
|
||||||
wInterest = 0.30f;
|
wInterest = 0.30f;
|
||||||
F32 dot = -mDot(pos,getVelocity());
|
dot = -mDot(pos,getVelocity());
|
||||||
if (dot > 0.0f)
|
if (dot > 0.0f)
|
||||||
wInterest += 0.20 * dot;
|
wInterest += 0.20 * dot;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue