Changeset 376 for trunk/VUT/GtpVisibilityPreprocessor/src/AxisAlignedBox3.h
- Timestamp:
- 11/03/05 19:31:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/AxisAlignedBox3.h
r372 r376 84 84 if ( (value >=mMin[axis]) && (value <= mMax[axis]) ) 85 85 if (right) 86 86 mMin[axis] = value; 87 87 else 88 88 mMax[axis] = value; 89 89 } 90 90 91 91 // the size of the box along all the axes 92 92 Vector3 Size() const { return mMax - mMin; } … … 174 174 Vector3 size = Size(); 175 175 return mMin + Vector3(RandomValue(0, size.x), 176 177 176 RandomValue(0, size.y), 177 RandomValue(0, size.z)); 178 178 } 179 179
Note: See TracChangeset
for help on using the changeset viewer.