Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9184 in orxonox.OLD


Ignore:
Timestamp:
Jul 5, 2006, 6:25:03 AM (18 years ago)
Author:
patrick
Message:

box gets drawn now

Location:
branches/presentation/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/lib/collision_detection/obb_tree_node.cc

    r9183 r9184  
    5757  this->nodeRight = NULL;
    5858  this->bvElement = NULL;
    59 
    60   this->flag = false;
    6159
    6260  this->triangleIndexList1 = NULL;
     
    111109  this->bvElement->axis[1] = Vector(0,1,0);
    112110  this->bvElement->axis[2] = Vector(0,0,1);
    113 
    114 
    115   PRINTF(0)("half length %f, %f, %f\n", this->bvElement->halfLength[0], this->bvElement->halfLength[1], this->bvElement->halfLength[2]);
    116   PRINTF(0)("center:\n");
    117   this->bvElement->center.debug();
    118 
    119   this->flag = true;
    120111}
    121112
     
    708699void OBBTreeNode::drawBV(int depth, int drawMode, const Vector& color,  bool top) const
    709700{
    710 
    711   if( !this->flag)
    712     return;
    713 
    714   PRINTF(0)("bv box\n");
    715701
    716702  /* this function can be used to draw the triangles and/or the points only  */
  • branches/presentation/src/lib/collision_detection/obb_tree_node.h

    r9174 r9184  
    8080
    8181    WorldEntity*        owner;
    82     bool flag;
     82
    8383};
    8484
  • branches/presentation/src/story_entities/game_world.cc

    r9179 r9184  
    469469      this->dataTank->objectManager->getObjectList(OM_GROUP_00_PROJ));
    470470  CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00),
    471   this->dataTank->objectManager->getObjectList(OM_GROUP_01));
     471    this->dataTank->objectManager->getObjectList(OM_GROUP_01));
    472472
    473473  CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_01),
  • branches/presentation/src/world_entities/weapons/aiming_system.cc

    r9174 r9184  
    6363  this->subscribeReaction(CREngine::CR_OBJECT_DAMAGE, CL_WORLD_ENTITY);
    6464
    65   this->range = 10.0f;
     65  this->range = 30.0f;
    6666  this->sideLength = 2.0f;
    6767
Note: See TracChangeset for help on using the changeset viewer.