bullet3 icon indicating copy to clipboard operation
bullet3 copied to clipboard

btScalar functions are not consistently used

Open SirNate0 opened this issue 6 months ago • 0 comments

btScalar.h introduces a number of functions to operate correctly on btScalar regardless of single vs double precision. However, these functions are not used consistently in the library, as can be seen with a simple case-sensitive search of fabs, for example.

This isn't that big of an issue - it does still compile and work, after all. However, it does make it much harder to replace btScalar with something other than float or double, such as a fixed point number, so it would be nice if the btFabs and similar functions could be consistently used.

SirNate0 avatar Dec 30 '23 19:12 SirNate0