3 #include <glm\gtc\matrix_projection.hpp>
4 #include <glm\gtc\matrix_transform.hpp>
27 void SetProjection(
float left,
float right,
float bottom,
float top,
float near_plane,
float far_plane);
35 void SetProjection(
float fovy,
float aspect_ratio,
float near_plane,
float far_plane);
103 glm::mat4
LookAt(glm::vec3 eye, glm::vec3 center, glm::vec3 up);
125 void SetViewMatrix(
int z, glm::vec3 eye, glm::vec3 center, glm::vec3 up);
128 glm::mat4 m_projection;
129 glm::mat4 m_viewMatrix;
130 glm::mat4* m_viewMatrix_cpy;
132 glm::mat4 m_old_ViewMatrix;
133 glm::mat4 m_old_ProjectionMatrix;
142 glm::vec3 m_position;
146 bool isEnvironmentMapping;