Changeset 271 for trunk


Ignore:
Timestamp:
09/15/05 09:00:20 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/GtpVisibilityPreprocessor/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Mesh.h

    r265 r271  
    167167  virtual bool IsConvex() { return mMesh->mIsConvex; } 
    168168  virtual bool IsWatertight() { return mMesh->mIsWatertight; } 
    169   virtual float IntersectionComplexity() {  return (int)mMesh->mFaces.size(); } 
     169  virtual float IntersectionComplexity() {  return (float)mMesh->mFaces.size(); } 
    170170 
    171171  virtual int Type() const { return MESH_INSTANCE; } 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp

    r270 r271  
    213213                } 
    214214        } 
    215  
     215        if (BspTree::displayDebug) Debug << "inside: " << inside << endl; 
    216216        // contains nothing 
    217217        delete polys; 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h

    r268 r271  
    8282  int Interior() const { return nodes / 2; } 
    8383  int Leaves() const { return (nodes / 2) + 1; } 
    84   float AvgDepth() const { return accumDepth / (double)Leaves();}; // TODO: computation wrong 
     84  double AvgDepth() const { return accumDepth / (double)Leaves();}; // TODO: computation wrong 
    8585   
    8686  void Reset()  
Note: See TracChangeset for help on using the changeset viewer.