mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-02 01:30:34 -06:00
30 lines
533 B
C++
30 lines
533 B
C++
#ifndef EXTERNALCONTROL_H
|
|
#define EXTERNALCONTROL_H
|
|
|
|
#include <openspace/util/powerscaledscalar.h>
|
|
#include <ghoul/glm.h>
|
|
#include <glm/gtc/quaternion.hpp>
|
|
|
|
namespace openspace {
|
|
|
|
class ExternalControl {
|
|
public:
|
|
|
|
// constructors & destructor
|
|
ExternalControl();
|
|
virtual ~ExternalControl();
|
|
|
|
virtual void update();
|
|
|
|
void rotate(const glm::quat &rotation);
|
|
void orbit(const glm::quat &rotation);
|
|
void distance(const PowerScaledScalar &distance);
|
|
|
|
|
|
protected:
|
|
};
|
|
|
|
} // namespace openspace
|
|
|
|
#endif
|