Cocos2DXNA / cocos2d-xna

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

about Box2D.Common.b2Settings.b2_epsilon #430

Closed mil5500 closed 10 years ago

mil5500 commented 10 years ago

in sumsung I917, maximum precision of float data type is 38. please fix.

totallyeviljake commented 10 years ago

The maximum precision of the platform is not how the epsilon is interpreted. The epsilon is the "zero" associated with the library. it is highly unlikely that you are simulating anything to 38 significant figures.

Fortunately, you can change the epsilon and rebuild the source.