Changeset 13041 for OpenSceneGraph/trunk/include/osgShadow/ConvexPolyhedron
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgShadow/ConvexPolyhedron
r12139 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 * … … 26 26 // Honors should go to Robert Osfield for writing such useful piece of code. 27 27 // First incarnations of my ConvexPolyhedron were derived from CustomPolytope. 28 // Later I made a number of modifications aimed at improving convex hull 29 // precision of intersection & extrusion operations and ended up with code 28 // Later I made a number of modifications aimed at improving convex hull 29 // precision of intersection & extrusion operations and ended up with code 30 30 // so mixed that I decided to rewrite it as separate class. 31 31 //////////////////////////////////////////////////////////////////////////////// … … 68 68 ( const Face & face0, const Face & face1, Face & face ); 69 69 70 void mergeCoplanarFaces( const double & plane_normal_dot_tolerance = 0.0, 70 void mergeCoplanarFaces( const double & plane_normal_dot_tolerance = 0.0, 71 71 const double & plane_distance_tolerance = 0.0 ); 72 72 … … 76 76 static int pointsColinear 77 77 ( const osg::Vec3d & va, const osg::Vec3d & vb, const osg::Vec3d & vc, 78 const double & edge_normal_dot_tolerance = 0.0, 78 const double & edge_normal_dot_tolerance = 0.0, 79 79 const double & null_edge_length_tolerance = 0.0 ); 80 80
