Changeset 4920 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.cc
- Timestamp:
- Jul 21, 2005, 2:33:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/quadtree_node.cc
r4918 r4920 357 357 358 358 359 bool QuadtreeNode::includesPoint(const Vector& v) 360 { 361 Vector center = *this->pDimension->getCenter(); 362 float ax = this->pDimension->getAxis(); 363 if( v.x > center.x - ax && v.x < center.x + ax && 364 v.z > center.z - ax && v.z < center.z + ax ) 365 printf("THIS POINT IS INSIDE :) \n"); 366 else 367 printf("POINT IS NOT INSIEDE\n"); 368 } 369 359 370 /** 360 371 * draws the debug quadtree boxes around the model
Note: See TracChangeset
for help on using the changeset viewer.