void Viewport(int width, int height);
void Viewport(int x, int y, int width, int height);
void Viewport(int width, int height);
void Viewport(int x, int y, int width, int height);
void FOV(float f);
void Aspect(float r);
void Aspect(float w, float h);
void Clip(float near, float far);
void FOV(float f);
void Aspect(float r);
void Aspect(float w, float h);
void Clip(float near, float far);
- void Position(glm::vec3 pos) { position = pos; UpdateView(); }
- void Move(glm::vec3 delta) { position += delta; UpdateView(); }
-
- void LookAt(glm::vec3 tgt) { target = tgt; UpdateView(); }
+ const glm::mat4 &Projection() { return projection; }