mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-10 07:50:44 +00:00
forest shadowvar cleanups
This commit is contained in:
parent
bb9d181615
commit
d810e6d208
2 changed files with 4 additions and 4 deletions
|
|
@ -150,10 +150,10 @@ void ForestWind::processTick()
|
|||
mCurrentInterp = 0;
|
||||
mCurrentTarget.set( 0, 0 );
|
||||
|
||||
Point2F windDir( mDirection.x, mDirection.y );
|
||||
windDir.normalizeSafe();
|
||||
Point2F windNorm( mDirection.x, mDirection.y );
|
||||
windNorm.normalizeSafe();
|
||||
|
||||
mCurrentTarget = finalVec + windDir;
|
||||
mCurrentTarget = finalVec + windNorm;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue