mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 13:23:56 -07:00
Better fix for the angle interolation issue. Thanks sbte for spotting it. Refs #1846.
This was SVN commit r13244.
This commit is contained in:
parent
8777f68aa0
commit
c6043779f6
1 changed files with 2 additions and 1 deletions
|
|
@ -445,7 +445,8 @@ public:
|
|||
// result gets close to m_orientation (rather than being n*2*M_PI out)
|
||||
m_InterpolatedRotY = rotY + deltaClamped - delta;
|
||||
|
||||
if (delta != 0)
|
||||
// Anything smaller than this will not be visible
|
||||
if (abs(delta) > 0.0001)
|
||||
m_PositionChanged = true;
|
||||
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue