Changeset 478 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp
- Timestamp:
- 12/22/05 18:32:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp
r469 r478 7 7 #include <iomanip> 8 8 9 ViewCell::ViewCell(): MeshInstance(NULL), mPiercingRays(0) 9 ViewCell::ViewCell(): 10 MeshInstance(NULL), 11 mPiercingRays(0), 12 mArea(0), 13 mVolume(0) 10 14 { 11 15 } 12 16 13 ViewCell::ViewCell(Mesh *mesh): MeshInstance(mesh), mPiercingRays(0) 17 ViewCell::ViewCell(Mesh *mesh): 18 MeshInstance(mesh), 19 mPiercingRays(0), 20 mArea(0), 21 mVolume(0) 14 22 { 15 23 } … … 35 43 } 36 44 45 37 46 float ViewCell::GetVolume() const 38 47 { … … 40 49 } 41 50 51 42 52 void ViewCell::SetVolume(float volume) 43 53 { 44 54 mVolume = volume; 45 55 } 56 57 58 float ViewCell::GetArea() const 59 { 60 return mArea; 61 } 62 63 64 void ViewCell::SetArea(float area) 65 { 66 mArea = area; 67 } 68 46 69 47 70 /************************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.