lo-th / Oimo.js

Lightweight 3d physics engine for javascript
http://lo-th.github.io/Oimo.js
MIT License
3.05k stars 301 forks source link

how to set the value to float 32, or float 16 ? #81

Open xiao8xiao1 opened 5 years ago

xiao8xiao1 commented 5 years ago

all the number is float64 in js. but in most of the case , it dosn't need float64 Float32 is enough . and the compute of float32 is more rapid than float64

can you please give us a version of float32.