Closed ChenguangZhang closed 8 years ago
The markdown page says return values are true/false when contact/not-contact, but several tests show the return values are 0/-1 respectively, so 0 corresponds to true and -1 correspond to false? This is contradictory to the common C/C++ practice.
Intersect() functions returns true/false, but Penetration() functions return 0 for success and -1 otherwise. I will check the manual and fix it.
The markdown page says return values are true/false when contact/not-contact, but several tests show the return values are 0/-1 respectively, so 0 corresponds to true and -1 correspond to false? This is contradictory to the common C/C++ practice.