Fixed Point implementation
-
- Posts: 5
- Joined: Fri Jul 22, 2011 7:53 am
Fixed Point implementation
is there such a thing for bullet? if so how can I compiled/implement it?
-
- Posts: 168
- Joined: Tue Jan 04, 2011 11:47 pm
Re: Fixed Point implementation
what do you mean by fixed point? Any point in the world coordinate system can be regarded as "fixed", or any point on the static object can be regarded as fixed points as well.Adrick wrote:is there such a thing for bullet? if so how can I compiled/implement it?
-
- Posts: 31
- Joined: Tue Apr 26, 2011 5:52 pm
Re: Fixed Point implementation
I think he means using integer instead of float or double for the btScalar data type.
As far as i know, you can not. You can only choose single or double precision floating point.
As far as i know, you can not. You can only choose single or double precision floating point.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Fixed Point implementation
I'm not aware of any fixed-point implementation for Bullet. The similar Box2D library (2D instead of 3D) used to have some fixed-point implementation.
It would be possible and useful for some purposes indeed, such as cross-platform determinism/reproducability and improved performance for platforms without FPU,
but I don't know if anyone has time/motivation to work on this.
Thanks,
Erwin
It would be possible and useful for some purposes indeed, such as cross-platform determinism/reproducability and improved performance for platforms without FPU,
but I don't know if anyone has time/motivation to work on this.
Thanks,
Erwin
-
- Posts: 168
- Joined: Tue Jan 04, 2011 11:47 pm
Re: Fixed Point implementation
That's it...Fixed point....I misunderstood...