mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 20:21:24 -06:00
removed all references to remotecontroller
This commit is contained in:
@@ -76,7 +76,6 @@
|
||||
|
||||
#include <openspace/interaction/keyboardcontroller.h>
|
||||
#include <openspace/interaction/mousecontroller.h>
|
||||
#include <openspace/interaction/remotecontroller.h>
|
||||
|
||||
#include <mutex>
|
||||
|
||||
@@ -95,7 +94,6 @@ public:
|
||||
|
||||
void setKeyboardController(KeyboardController* controller);
|
||||
void setMouseController(MouseController* controller);
|
||||
void setRemoteController(RemoteController* controller);
|
||||
void addController(Controller* controller);
|
||||
|
||||
void lockControls();
|
||||
@@ -173,7 +171,6 @@ private:
|
||||
|
||||
KeyboardController* _keyboardController;
|
||||
MouseController* _mouseController;
|
||||
RemoteController* _remoteController;
|
||||
std::vector<Controller*> _controllers;
|
||||
};
|
||||
|
||||
|
||||
@@ -353,9 +353,6 @@ bool OpenSpaceEngine::initialize() {
|
||||
//_interactionHandler.setMouseController(new interaction::TrackballMouseController);
|
||||
_interactionHandler->setMouseController(new interaction::OrbitalMouseController);
|
||||
|
||||
//@TODO fix this -JK
|
||||
_interactionHandler->setRemoteController(new interaction::RemoteController);
|
||||
|
||||
// Run start up scripts
|
||||
runStartupScripts();
|
||||
|
||||
|
||||
@@ -253,7 +253,6 @@ InteractionHandler::InteractionHandler()
|
||||
, _invertRotation(false)
|
||||
, _keyboardController(nullptr)
|
||||
, _mouseController(nullptr)
|
||||
, _remoteController(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -278,13 +277,6 @@ void InteractionHandler::setMouseController(MouseController* controller) {
|
||||
_mouseController->setHandler(this);
|
||||
}
|
||||
|
||||
void InteractionHandler::setRemoteController(RemoteController* controller) {
|
||||
assert(controller);
|
||||
delete _remoteController;
|
||||
_remoteController = controller;
|
||||
_remoteController->setHandler(this);
|
||||
}
|
||||
|
||||
void InteractionHandler::addController(Controller* controller) {
|
||||
assert(controller);
|
||||
_controllers.push_back(controller);
|
||||
@@ -355,7 +347,6 @@ void InteractionHandler::unlockControls() {
|
||||
void InteractionHandler::update(double deltaTime) {
|
||||
_deltaTime = deltaTime;
|
||||
_mouseController->update(deltaTime);
|
||||
_remoteController->update(deltaTime);
|
||||
}
|
||||
|
||||
void InteractionHandler::setFocusNode(SceneGraphNode* node) {
|
||||
|
||||
Reference in New Issue
Block a user