Changeset 544 for trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
- Timestamp:
- 01/16/06 19:33:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
r538 r544 120 120 v += CrossProd(mVertices[i], mVertices[i+1]); 121 121 122 //Debug << "area2: " << 0.5f * fabs(DotProd(GetNormal(), v)) << endl; 123 return 0.5f * fabs(DotProd(GetNormal(), v)); 122 return 0.5f * fabs(DotProd(GetNormal(), v)); 124 123 } 125 124
Note: See TracChangeset
for help on using the changeset viewer.