65bef96a6e
enhanced version of PolytopeIntersector. New features of PolytopeIntersector : * Dimension mask: The user may specify the dimensions of the primitives to be tested. Checking polytope-triangle and polytope-quad intersections is rather slow so this can be turned off. * Reference plane: The resulting intersections are sorted by the distance to this plane. New memebers of PolytopeIntersector::Intersection : * distance: Distance of localIntersectionPoint to the reference plane * maxDistance: Maximum distance of all intersectionPoints to the reference plane. * intersectionPoints: The points intersecting the planes of the polytope or points completely inside the polytope. * localIntersectionPoint: arithmetic mean of all intersection points * primitiveIndex: Index of the primitive that intersected I added some more output to the example osgkeyboardmouse." |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
osgkeyboardmouse.cpp |