- /** Deprecated as unsafe. Use set_matrix() or transform() instead. */
- MatrixStack &matrix_stack() { return mtx_stack; }
+ /** Sets the camera to render from. The modelview matrix is reset to the
+ camera's view matrix. */
+ void set_camera(const Camera &);
+
+ const Camera *get_camera() const { return state->camera; }