Changeset 224 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
- Timestamp:
- 08/09/05 18:39:28 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
r221 r224 1 1 #ifndef _ViewCell_H__ 2 2 #define _ViewCell_H__ 3 4 #include "Intersectable.h" 3 5 4 6 class Mesh; … … 11 13 View cell represented as a mesh 12 14 */ 13 class ViewCell 15 class ViewCell: public Intersectable 14 16 { 15 17 public: … … 28 30 BspPvs *GetPVS() {return mPvs;} 29 31 32 AxisAlignedBox3 GetBox() {return mMesh->mBox;} 33 34 int CastRay(Ray &ray) {return 0;} 35 36 bool IsConvex() {return mMesh->mIsConvex;} 37 bool IsWatertight() {return mMesh->mIsWatertight;} 38 float IntersectionComplexity() {return mMesh->mFaces.size();} 39 40 int Type() const { return VIEWCELL; } 41 42 void GetRandomSurfacePoint(Vector3 &point, Vector3 &normal) {point = Vector3(0,0,0);}; 43 30 44 protected: 31 45
Note: See TracChangeset
for help on using the changeset viewer.