Changeset 271 for trunk/VUT/GtpVisibilityPreprocessor
- Timestamp:
- 09/15/05 09:00:20 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Mesh.h
r265 r271 167 167 virtual bool IsConvex() { return mMesh->mIsConvex; } 168 168 virtual bool IsWatertight() { return mMesh->mIsWatertight; } 169 virtual float IntersectionComplexity() { return ( int)mMesh->mFaces.size(); }169 virtual float IntersectionComplexity() { return (float)mMesh->mFaces.size(); } 170 170 171 171 virtual int Type() const { return MESH_INSTANCE; } -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r270 r271 213 213 } 214 214 } 215 215 if (BspTree::displayDebug) Debug << "inside: " << inside << endl; 216 216 // contains nothing 217 217 delete polys; -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h
r268 r271 82 82 int Interior() const { return nodes / 2; } 83 83 int Leaves() const { return (nodes / 2) + 1; } 84 floatAvgDepth() const { return accumDepth / (double)Leaves();}; // TODO: computation wrong84 double AvgDepth() const { return accumDepth / (double)Leaves();}; // TODO: computation wrong 85 85 86 86 void Reset()
Note: See TracChangeset
for help on using the changeset viewer.