/* $Id$
This file is part of R²C²
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#include <msp/gbase/window.h>
#include <msp/gl/camera.h>
-
-class Designer;
+#include "3d/view.h"
/**
Moves the camera based on keyboard and mouse events. Controls are as follows:
DISTANCE
};
- Designer &designer;
+ R2C2::View3D &view;
Msp::Graphics::EventSource &event_source;
Msp::GL::Camera &camera;
int move_x;
DragMode drag_mode;
public:
- CameraController(Designer &, Msp::Graphics::EventSource &, Msp::GL::Camera &);
+ CameraController(R2C2::View3D &, Msp::Graphics::EventSource &);
void top_down();
void set_look_direction(const Msp::GL::Vector3 &);