Changeset 469 for trunk/VUT/GtpVisibilityPreprocessor/src/MeshKdTree.cpp
- Timestamp:
- 12/16/05 18:52:33 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/MeshKdTree.cpp
r376 r469 181 181 mSplitCandidates->clear(); 182 182 183 int requestedSize = 2* node->mFaces.size();183 int requestedSize = 2*(int)node->mFaces.size(); 184 184 // creates a sorted split candidates array 185 185 if (mSplitCandidates->capacity() > 500000 && … … 232 232 // C = ct_div_ci + (ol + or)/queries 233 233 234 int objectsLeft = 0, objectsRight = node->mFaces.size();234 int objectsLeft = 0, objectsRight = (int)node->mFaces.size(); 235 235 236 236 float minBox = box.Min(axis); … … 241 241 float maxBand = minBox + (1.0f - mSplitBorder)*(maxBox - minBox); 242 242 243 float minSum = 1e20 ;243 float minSum = 1e20f; 244 244 vector<SortableEntry>::const_iterator ci; 245 245
Note: See TracChangeset
for help on using the changeset viewer.