#undef max in btScalar.h

Post Reply
Jack
Posts: 59
Joined: Thu Aug 31, 2006 11:51 am

#undef max in btScalar.h

Post by Jack »

Why do you need that line? It looks useless. :roll:
I always have to remove it in each new release to avoid conflict with Windows "max" macro....
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: #undef max in btScalar.h

Post by Erwin Coumans »

Jack wrote:Why do you need that line? It looks useless. :roll:
I always have to remove it in each new release to avoid conflict with Windows "max" macro....
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.

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
Post Reply