X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FCamera.hh;h=0aa5dc9990cf5c3f97f23b0db1b76467e91fc143;hp=8b3b1dabe12e2760612b25554cf3c5007cb22dcf;hb=493ddb59a8620b49dfa0ff62ce93395ebfd02e86;hpb=bc5448947f45c0ba4d22b5ad736b7c545d8ec075 diff --git a/src/Moof/Camera.hh b/src/Moof/Camera.hh index 8b3b1da..0aa5dc9 100644 --- a/src/Moof/Camera.hh +++ b/src/Moof/Camera.hh @@ -30,6 +30,7 @@ #define _MOOF_CAMERA_HH_ #include +#include #include #include @@ -61,8 +62,12 @@ public: return transformation_; } - void adjustFromInput(const Event& event); + const Frustum& getFrustum() const + { + return frustum_; + } + void adjustFromInput(const Event& event); void update(Scalar t, Scalar dt); private: @@ -70,6 +75,7 @@ private: Quaternion rotation_; Matrix4 transformation_; + Frustum frustum_; Lerpv3 pInterp_;