mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
shadowvar cleanup
This commit is contained in:
parent
dd297ce39d
commit
f9aa23f9c5
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