]> Dogcows Code - chaz/yoink/blobdiff - src/moof/camera.hh
pch support
[chaz/yoink] / src / moof / camera.hh
index b3aac0e080cd06a00e1c8a9b87d10f8c71b9e667..7484e4e7a64bd6845182f900d12906acdd08896a 100644 (file)
@@ -1,28 +1,26 @@
 
-/*]  Copyright (c) 2009-2010, Charles McGarvey  [**************************
+/*]  Copyright (c) 2009-2011, Charles McGarvey  [*****************************
 **]  All rights reserved.
 *
-* vi:ts=4 sw=4 tw=75
-*
 * Distributable under the terms and conditions of the 2-clause BSD license;
 * see the file COPYING for a complete text of the license.
 *
-**************************************************************************/
+*****************************************************************************/
 
 #ifndef _MOOF_CAMERA_HH_
 #define _MOOF_CAMERA_HH_
 
-/**
- * \file camera.hh
- * Classes related to managing the modelview and perspective matrices.
- */
-
 #include <moof/event.hh>
 #include <moof/frustum.hh>
 #include <moof/math.hh>
 #include <moof/rigid_body.hh>
 
 
+/**
+ * \file camera.hh
+ * Classes related to managing the modelview and perspective matrices.
+ */
+
 namespace moof {
 
 
@@ -61,21 +59,18 @@ public:
                return frustum_;
        }
 
-
        void upload_to_gl(scalar alpha = 0) const;
 
        void update(scalar t, scalar dt);
        void draw(scalar alpha = 0) const;
        void handle_event(const event& event);
 
-
 private:
 
        void calculate(scalar alpha) const;
 
-       mutable matrix4                 modelview_;
-       matrix4                                 projection_;
-
+       mutable matrix4         modelview_;
+       matrix4                 projection_;
        mutable class frustum   frustum_;
 };
 
This page took 0.018865 seconds and 4 git commands to generate.