forked from 0ad/0ad
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
@ -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 New Issue
Block a user