Changeset 8234 in orxonox.OLD for branches/bsp_model/src/lib
- Timestamp:
- Jun 8, 2006, 1:30:08 PM (18 years ago)
- Location:
- branches/bsp_model/src/lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/collision_reaction/collision_handle.h
r8190 r8234 41 41 /** @returns true if this handle should be pulled also if there are no collisions */ 42 42 inline bool isContinuousPoll() const { return this->bContinuousPoll; } 43 /** @returns the type */ 44 inline CREngine::CRType getType() const { return this->type; } 43 45 44 46 void handleCollisions(); -
branches/bsp_model/src/lib/collision_reaction/cr_engine.cc
r8213 r8234 145 145 if( (*it)->isCollided() || (*it)->isContinuousPoll()) //does it have any collisions to report at all 146 146 { 147 PRINTF(0)("CREngine: handle %i\n", (*it)->getType()); 147 148 (*it)->handleCollisions(); 148 149 } -
branches/bsp_model/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8203 r8234 53 53 { 54 54 // Vector normal = collision 55 55 PRINTF(0)("Ground\n"); 56 56 57 57 } -
branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc
r8233 r8234 84 84 this->alreadyVisible = new bool [this->bspFile->numFaces]; 85 85 86 this->outputFraction = 1.0f; //FIXME is this needed?86 this->outputFraction = 1.0f; 87 87 } 88 88 /* … … 862 862 863 863 Vector forwardDir = worldEntity->getAbsDirX(); 864 forwardDir.x =8.0*forwardDir.x; 865 forwardDir.y =8.0*forwardDir.y; 866 forwardDir.z =8.0*forwardDir.z; 864 forwardDir = forwardDir * 8.0f; 867 865 868 866 Vector upDir = worldEntity->getAbsDirY(); 869 867 Vector dest = position; 868 870 869 dest.x += forwardDir.x; 871 870 dest.y += forwardDir.y; … … 881 880 882 881 883 if( !worldEntity->isA(CL_PLAYABLE)) {882 if(/*!worldEntity->isA(CL_PLAYABLE)*/ false) { 884 883 885 884
Note: See TracChangeset
for help on using the changeset viewer.