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

clipinfo.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_clipinfo
00011 #define header_clipinfo
00012 
00013 #include "camera.h"
00014 #include "viewpoint.h"
00015 
00016 class CL_ClipInfo
00017 //: Clipping information class.
00018 // <p>This class is used by all drawable objects to do intercommunication
00019 // between what's viewable and what isn't.</p>
00020 // <p>At the moment it only contains the camera (eye type) and camera's
00021 // viewpoint, but if more advanced clipping techniques should be needed,
00022 // then this is where the toplevel support should be added.</p>
00023 {
00024 public:
00025         CL_Camera camera;
00026         // The camera/eye type.
00027 
00028         CL_Viewpoint viewpoint;
00029         // The camera/eye's viewpoint center.
00030 
00031         float distance;
00032         // distance from center to real pos
00033 };
00034 
00035 #endif

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