Why do you need that line? It looks useless.
I always have to remove it in each new release to avoid conflict with Windows "max" macro....
#undef max in btScalar.h
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: #undef max in btScalar.h
Most parts of the non-simd math library is a contribution this is a left-over. It has been removed already, see the Subversion log. There was no point in having it.Jack wrote:Why do you need that line? It looks useless.
I always have to remove it in each new release to avoid conflict with Windows "max" macro....
While talking about the math stuff, there is another contribution with a Separating Axis Test Convex Hull implementation (in Extras/SATConvexCollision folder), that includes SIMD optimizations. At some stage, that can be merged and we can benefit from SIMD math classes (at least under windows).
Thanks for the feedback!
Erwin