Changeset 404 for trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
- Timestamp:
- 11/10/05 19:01:38 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
r396 r404 136 136 } 137 137 138 int Polygon3::ClassifyPlane(const Plane3 &plane ) const138 int Polygon3::ClassifyPlane(const Plane3 &plane, const float tolerance) const 139 139 { 140 140 VertexContainer::const_iterator it; … … 147 147 for (it = mVertices.begin(); it != mVertices.end(); ++ it) 148 148 { 149 const int side = plane.Side(*it, Vector3::sDistTolerance);149 const int side = plane.Side(*it, tolerance); 150 150 151 151 if (side > 0) … … 176 176 177 177 return COINCIDENT; // plane and polygon are coincident 178 } 179 180 int Polygon3::ClassifyPlane(const Plane3 &plane) const 181 { 182 return ClassifyPlane(plane, Vector3::sDistTolerance); 178 183 } 179 184
Note: See TracChangeset
for help on using the changeset viewer.