我找到了!
事实证明,该问题与缓冲区或线程无关。
在最初的几秒钟内听起来不错,因为计算的角度相对较小。随着程序的运行以及角度的增大,Math.sin(_currentAngle)开始生成不可靠的值。
因此,我替换
Math.sin()为
FloatMath.sin()。
我也换了
_currentAngle = _currentAngle + _angleIncrement;
与
_currentAngle = ((_currentAngle + _angleIncrement) % (2.0f * (float)Math.PI));,因此角度总是<2 * PI。
奇迹般有效!非常感谢您的帮助,praetorian droid!



