Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4592 in orxonox.OLD for orxonox/trunk/src/world_entities/camera.h


Ignore:
Timestamp:
Jun 10, 2005, 7:17:22 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: derivations work.
now the only thing to do is specify all the classes, and DO it CLEAN.

@patrick: is it ok, how i treated your ObjectManager??

File:
1 edited

Legend:

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

    r4490 r4592  
    1 /*! 
     1/*!
    22    \file camera.h
    33    \brief Viewpoint controlling class definitions
    4 */ 
     4*/
    55
    66#ifndef _CAMERA_H
     
    1616
    1717//! an enumerator for different types of view
    18 typedef enum ViewMode{ VIEW_NORMAL,
    19                        VIEW_BEHIND,
    20                        VIEW_FRONT,
    21                        VIEW_LEFT,
    22                        VIEW_RIGHT,
    23                        VIEW_TOP };
     18typedef enum ViewMode
     19{
     20  VIEW_NORMAL,
     21  VIEW_BEHIND,
     22  VIEW_FRONT,
     23  VIEW_LEFT,
     24  VIEW_RIGHT,
     25  VIEW_TOP
     26};
    2427
    2528//! Camera
     
    5962
    6063//! A CameraTarget is where the Camera is looking at.
    61 class CameraTarget : public PNode 
     64class CameraTarget : public PNode
    6265{
    6366  friend class Camera;             //! The CameraTarget is a friend of Camera. noone else needs a CameraTarget, so noone else can create it.
    64  
     67
    6568 private:
    6669  CameraTarget(void);
    67  
     70
    6871 public:
    6972  virtual ~CameraTarget(void);
Note: See TracChangeset for help on using the changeset viewer.