EMI: Refactor to use a matrix for the camera.

This commit is contained in:
Joseph Jezak 2014-08-05 15:43:39 -04:00
parent 94dd10cb11
commit ff9f26981c
10 changed files with 109 additions and 93 deletions

View file

@ -54,6 +54,7 @@ public:
virtual bool supportsShaders() override { return true; }
virtual void setupCameraFrustum(float fov, float nclip, float fclip) override;
virtual void positionCamera(const Math::Vector3d &pos, const Math::Vector3d &interest, float roll) override;
virtual void positionCamera(const Math::Vector3d &pos, const Math::Matrix4 &rot) override;
virtual Math::Matrix4 getModelView() override;
virtual Math::Matrix4 getProjection() override;