Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2096 in orxonox.OLD for orxonox/branches/chris/src/camera.h


Ignore:
Timestamp:
Jul 9, 2004, 11:14:42 AM (20 years ago)
Author:
chris
Message:

orxonox/branches/chris: Messed with the Player class, added stuff here and there, debug world now creates a player and bind IO to it. Added some doxygen tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/src/camera.h

    r2068 r2096  
     1/*!
     2    \file camera.h
     3    \brief Viewpoint controlling class definitions
     4*/
    15
    26#ifndef CAMERA_H
    37#define CAMERA_H
    48
     9//! Camera
     10/**
     11        This class controls the viewpoint from which the World is rendered. To use the Camera it has
     12        to be bound to a WorldEntity which serves as the reference focus point. The Camera itself calls
     13        the WorldEntity::get_lookat() and World::calc_camera_pos() functions to calculate the position it
     14        currently should be in.
     15*/
    516class Camera {
    617 private:
    7         WorldEntity* bound;
    8         Placement actual_place;
    9         Placement desired_place;
     18        WorldEntity* bound;             //!< the WorldEntity the Camera is bound to
     19        Placement actual_place; //!< the Camera's current position
     20        Placement desired_place; //!< where the Camera should be according to calculations
    1021
    1122        void update_desired_place ();
Note: See TracChangeset for help on using the changeset viewer.