X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fcamera.hh;h=43e547163d9a0ff8206a3a91475b75d85050e0a4;hp=b3aac0e080cd06a00e1c8a9b87d10f8c71b9e667;hb=574af38ed616d1adfa5e6ce35f67cda1f707f89d;hpb=6c9943707d4f33035830eba0587a61a34eaecbc2 diff --git a/src/moof/camera.hh b/src/moof/camera.hh index b3aac0e..43e5471 100644 --- a/src/moof/camera.hh +++ b/src/moof/camera.hh @@ -1,13 +1,11 @@ -/*] 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_ @@ -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_; };