void Aspect(float w, float h);
void Clip(float near, float far);
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(); }
+ Ray Aim() const;
+
+ const glm::mat4 &Projection() { return projection; }
+ const glm::mat4 &View() { return view; }