Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 7:28:41 PM (18 years ago)
Author:
patrick
Message:

more aiming system work. nothing visible yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/aiming_system.cc

    r9163 r9166  
    2121
    2222#include "state.h"
     23
     24#include "aabb.h"
    2325
    2426#include <vector>
     
    5557  this->setClassID(CL_CROSSHAIR, "AimingSystem");
    5658  this->setName("AimingSystem");
     59
     60  this->loadModel("models/guns/targeting_system_body.obj");
    5761}
    5862
     
    7882 * @returns the nerest target
    7983 */
    80 inline WorldEntity* AimingSystem::getNearestTarget()
     84WorldEntity* AimingSystem::getNearestTarget()
    8185{
    8286  if( this->selectionList.size() == 0)
     
    132136void AimingSystem::draw() const
    133137{
     138//   if( this->getModelAABB() != NULL)
     139//     this->getModelAABB()->drawBV(0, 1);
    134140}
Note: See TracChangeset for help on using the changeset viewer.