Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10386 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Jan 26, 2007, 6:07:39 PM (18 years ago)
Author:
patrick
Message:

camera is a WE and some other stuff

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/camera.h

    r10379 r10386  
    77#define _CAMERA_H
    88
    9 #include "p_node.h"
     9#include "world_entity.h"
    1010#include "event_listener.h"
    1111#include "plane.h"
     
    2020 * This class controls the viewpoint from which the World is rendered.
    2121*/
    22 class Camera : public PNode, public EventListener
     22class Camera : public WorldEntity, public EventListener
    2323{
    2424  friend class CameraTarget;
     
    5151
    5252  /** @param fovy new field of view factor (in degrees) */
    53   inline void setFovy(float fovy) 
    54   { 
    55     this->fovy = fovy; 
     53  inline void setFovy(float fovy)
     54  {
     55    this->fovy = fovy;
    5656    this->toFovy = fovy;
    5757  };
     
    132132  float             viewFrontDistance;
    133133  float             viewNormalDistance;
    134  
     134
    135135};
    136136
  • trunk/src/world_entities/npcs/generic_npc.cc

    r10114 r10386  
    8989  this->toList(OM_GROUP_00);
    9090
    91   this->soundBuffer = OrxSound::ResourceSoundBuffer("sound/rain.wav");
     91//   this->soundBuffer = OrxSound::ResourceSoundBuffer("sound/rain.wav");
    9292
    9393  time = 30.0f;
Note: See TracChangeset for help on using the changeset viewer.