Changeset 10601 in orxonox.OLD for branches/cleanup/src
- Timestamp:
- Mar 23, 2007, 12:21:42 AM (18 years ago)
- Location:
- branches/cleanup/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cleanup/src/lib/collision_detection/obb_tree_node.cc
r10033 r10601 629 629 PRINTF(5)("s = %f, rA+rB = %f\n", fabs(t.dot(l)), rA+rB); 630 630 631 //TODO valgrind complains about uninitialised value here 631 632 if( (rA + rB) < fabs(t.dot(l))) 632 633 { -
branches/cleanup/src/lib/graphics/importer/bsp/bsp_manager.cc
r10599 r10601 982 982 float endDistance = end->dot(node->plane) - node->d; 983 983 float startDistance = start->dot(node->plane) - node->d; 984 985 984 986 985 if( node->isLeaf) { 987 986 leaf& curLeaf = this->bspFile->leaves[node->leafIndex]; … … 999 998 } 1000 999 1001 1000 //TODO valgrind complains about uninitialised value here 1002 1001 if (startDistance >= 0 && endDistance >= 0) // A 1003 1002 { // both points are in front of the plane -
branches/cleanup/src/world_entities/effects/wobblegrid.cc
r10593 r10601 93 93 this->angularSpeed = M_PI; //180; 94 94 this->setModel(this->grid); 95 96 this->angle = 0; 95 97 96 98 this->setUpdateFunction((*sinf)); -
branches/cleanup/src/world_entities/projectiles/swarm_projectile.cc
r10579 r10601 60 60 //this->trail->setParent( this); 61 61 this->trail->setTexture( "textures/laser.png"); 62 63 this->maxVelocity = 300; 64 65 this->rotationSpeed = 360; 66 this->angle = 0; 62 67 63 68 … … 216 221 217 222 this->angle += this->rotationSpeed * time; 223 218 224 while (this->angle > 360) 225 { 219 226 this->angle -= 360; 227 } 220 228 221 229 this->lastDir = this->curDir; -
branches/cleanup/src/world_entities/spectator.cc
r10401 r10601 242 242 this->yMouse += event.yRel; 243 243 } 244 else if( event.type == KeyMapper::PEV_JUMP) 245 { 244 else if( event.type == KeyMapper::PEV_FIRE1 ) 245 { 246 PRINTF(0)( "CURRENT POS: (%f, %f, %f) ROT (%f, (%f, %f, %f))\n", this->getAbsCoorX(), this->getAbsCoorY(), this->getAbsCoorZ(), this->getAbsDir().w, this->getAbsDir().v.x, this->getAbsDir().v.y, this->getAbsDir().v.z ); 246 247 // FPSPlayer * fps = new FPSPlayer(); 247 248 // //GenericNPC* fps = new GenericNPC(); -
branches/cleanup/src/world_entities/weapons/light_blaster.cc
r10600 r10601 55 55 for (int i = 0; i < this->getBarrels(); i++) 56 56 { 57 delete [] this->shootAnim[i];57 //delete [] this->shootAnim[i]; 58 58 delete [] this->objComp[i]; 59 59 } 60 60 delete [] this->emissionPoint; 61 delete [] this->shootAnim;61 //delete [] this->shootAnim; 62 62 delete [] this->objComp; 63 63
Note: See TracChangeset
for help on using the changeset viewer.