So I have this code, but it only creates a collision detector at the tool radius. I would like to extend the collision to the whole 3d tool but all has been in vain. Below is the sample code on how it does that.
// radius of tool for graphic and haptic representation double hapticRadius = 0.01; // compute collision detection algorithm tooth->createAABBCollisionDetector(hapticRadius);
How can I achieve this? Any help would be greatly appreciated. Thanks
Source: Windows Questions C++