Awesome guys. Many thanks on the uber-quick reply. Also, frob, good catch on my mistake there. Thinking about it, it now makes sense that the macro isn't returning anything, but is calling return in the code where it is being used. I also agree that this is a pretty not-nice use of a macro.
I haven't seen too many other samples out there that use the separating axis theorem for AABB-triangle detection. The only other sample I've seen had issues as well.
Again, thanks a bunch you guys.
(I feel like it's been quite a while since I've been around here, and I'm glad to see the community is still alive and kicking, like back in the good ol' days.)
MoeMember Since 24 Jan 2000
Offline Last Active Mar 25 2016 05:50 PM
- Group Crossbones+
- Active Posts 7,389
- Profile Views 9,242
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
Calgary, AB, Canada
- Website URL http://joelbennett.wordpress.com