Cocos2DXNA / cocos2d-xna

XNA Port of Cocos2d-X
www.cocos2dxna.com
225 stars 126 forks source link

- don't use float.Epsilon since it does evaluate to 0 on ARM #465

Closed doubleday closed 9 years ago

doubleday commented 9 years ago

Something the bit me recently: in an ActionInterval I got an Update call with NaN on the device on iOS. In the simulator it was working fine.

The problem is the use of float.Epsilon which is supported on ARM.

see here: http://msdn.microsoft.com/en-us/library/system.single.epsilon(v=vs.110).aspx and here: https://bugzilla.xamarin.com/show_bug.cgi?id=15802