diff options
author | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:32:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-01-30 17:32:00 +0000 |
commit | a94049b1a43f83d750b9b5dee031c19a6b1fafb0 (patch) | |
tree | 8677f67ba0ba0c0bb80b911d3aa0413d7e2a47c0 /src/client/camera.h | |
parent | 7b5777160c7615443afc287fbdad6a861d69e36b (diff) |
accomodate the new modules
Diffstat (limited to 'src/client/camera.h')
-rw-r--r-- | src/client/camera.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/client/camera.h b/src/client/camera.h index ec8d4d6..da0890b 100644 --- a/src/client/camera.h +++ b/src/client/camera.h @@ -4,17 +4,17 @@ the terms and conditions of the GNU General Public License version 2 */ -#ifndef __INCLUDED_CAMERA_H__ -#define __INCLUDED_CAMERA_H__ +#ifndef __INCLUDED_CLIENT_CAMERA_H__ +#define __INCLUDED_CLIENT_CAMERA_H__ -#include "gl/osiriongl.h" +#include "gl/gllib.h" namespace client { /// camera functions -/** The functions in this namespace performs the transformations -for the camera eye location. The camera always looks at (0,0,0) -*/ +/** The functions in this class perform the transformations + * for the camera eye location. The camera always looks at (0,0,0) + */ class Camera { public: @@ -41,7 +41,7 @@ public: /// camera target /** The location the camera is looking at */ - gl::Vector3f target; + math::Vector3f target; /// target yaw, angle in XZ plane, positive is looking left float yaw_target; @@ -67,4 +67,4 @@ protected: } // namespace client -#endif // __INCLUDED_CAMERA_H__ +#endif // __INCLUDED_CLIENT_CAMERA_H__ |