Changeset 9166 in orxonox.OLD for branches/presentation/src/world_entities/weapons
- Timestamp:
- Jul 4, 2006, 7:28:41 PM (18 years ago)
- Location:
- branches/presentation/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/aiming_system.cc
r9163 r9166 21 21 22 22 #include "state.h" 23 24 #include "aabb.h" 23 25 24 26 #include <vector> … … 55 57 this->setClassID(CL_CROSSHAIR, "AimingSystem"); 56 58 this->setName("AimingSystem"); 59 60 this->loadModel("models/guns/targeting_system_body.obj"); 57 61 } 58 62 … … 78 82 * @returns the nerest target 79 83 */ 80 inlineWorldEntity* AimingSystem::getNearestTarget()84 WorldEntity* AimingSystem::getNearestTarget() 81 85 { 82 86 if( this->selectionList.size() == 0) … … 132 136 void AimingSystem::draw() const 133 137 { 138 // if( this->getModelAABB() != NULL) 139 // this->getModelAABB()->drawBV(0, 1); 134 140 } -
branches/presentation/src/world_entities/weapons/aiming_system.h
r9160 r9166 32 32 inline PNode* getTarget(PNode* target) { return this->getParent(); }; 33 33 34 inlineWorldEntity* getNearestTarget();34 WorldEntity* getNearestTarget(); 35 35 36 36
Note: See TracChangeset
for help on using the changeset viewer.