tweenjs / es6-tween

ES6 version of tween.js
MIT License
186 stars 34 forks source link

My tween only has a precision of four decimal points. #58

Closed donaldr closed 5 years ago

donaldr commented 5 years ago

I have a tween going from 2 to 1.98 over twenty seconds. I log my tween and it only goes to four decimal places. I'm not rounding it anywhere in my code.

moroine commented 5 years ago

Hello,

I just try to reproduce, and on my side, it's not the case.

See https://codepen.io/bilouwan/pen/QJmQdW?editors=1111

Could you add an example?

dalisoft commented 5 years ago

Hello @donaldr. Is the #56 not fixed your problem? If fixed, please close issue

dalisoft commented 5 years ago

@donaldr Please try v5.3.2, i released new version, it should be fixed. Thank you for reporting bug

dalisoft commented 5 years ago

Now the decimals limit not 4, an approx 6-7, i think it's enough for smooth tweening and 32-bit integer limit also was fixed. If still issue persist, please reopen issue or create another one