Changeset 406 for trunk/gui/vizservers/nanovis/Renderable.h
- Timestamp:
- Apr 24, 2006, 9:59:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/vizservers/nanovis/Renderable.h
r401 r406 21 21 #include "Vector3.h" 22 22 23 struct BoundBox{ 24 Vector3 low; //lower coordinates 25 Vector3 high; //higher coordinates 26 27 BoundBox(){} 28 BoundBox(float low_x, float low_y, float low_z, 29 float high_x, float high_y, float high_z): 30 low(Vector3(low_x, low_y, low_z)), 31 high(Vector3(high_x, high_y, high_z)){} 32 }; 33 23 34 class Renderable{ 24 35 protected: 25 36 Vector3 location; //the location (x,y,z) of the object 26 37 bool enabled; //display is enabled 38 BoundBox boundary; //the bounding box 27 39 28 40 public:
Note: See TracChangeset
for help on using the changeset viewer.