Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

viewpoint.h

Go to the documentation of this file.
00001 /*
00002         Dodge This, ClanLib example Game,
00003         Copyright 1999-2000 by the Dodge This Development Team.
00004         
00005         This game is licensed under the GNU PUBLIC LICENSE (GPL), version 2.
00006 */
00007 
00009 
00010 #ifndef header_viewpoint
00011 #define header_viewpoint
00012 
00013 #include "../Core/Math/cl_vector.h"
00014 
00015 class CL_Viewpoint
00016 {
00017 public:
00018         CL_Viewpoint()
00019         {
00020                 pos = CL_Vector(0,0,0);
00021                 dir = CL_Vector(0,0,0);
00022                 up = CL_Vector(0,0,0);
00023         }
00024 
00025         CL_Viewpoint(
00026                 const CL_Vector &pos,
00027                 const CL_Vector &dir,
00028                 const CL_Vector &up)
00029         {
00030                 this->pos = pos;
00031                 this->dir = dir;
00032                 this->up = up;
00033         }
00034 
00035         CL_Vector pos, dir, up;
00036 };
00037 
00038 #endif

Generated at Wed Apr 4 19:54:04 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001