Bug in btClock ?

CodeGen
Posts: 1
Joined: Thu Aug 20, 2009 4:07 pm

Bug in btClock ?

Post by CodeGen »

Hi !
I'm new to Bullet and this question may seem stupid.
I downloaded the latest Bullet 2.75 Physics SDK and in the file "btQuickProf.h" I came across this line:

Code: Select all

#define mymin(a,b) (a > b ? a : b)
(This is used to adjust time values when using the Win32 performance counter.)
But it actually computes the maximum of a and b!