Showing the changes to libraries/script-engine/src/AbstractControllerScriptingInterface.h (1 of 11 files). Show all
Unified · Split
| @@ -12,6 +12,7 @@ · 11 unmodified lines | |||
| 12 | #include <QtCore/QObject> | 12 | #include <QtCore/QObject> |
| 13 | 13 | ||
| 14 | #include <glm/glm.hpp> | 14 | #include <glm/glm.hpp> |
| 15 | #include <glm/gtc/quaternion.hpp> | ||
| 15 | 16 | ||
| 16 | #include "EventTypes.h" | 17 | #include "EventTypes.h" |
| 17 | 18 | ||
| @@ -37,6 +38,7 @@ public slots: · 19 unmodified lines | |||
| 37 | virtual glm::vec3 getSpatialControlPosition(int controlIndex) const = 0; | 38 | virtual glm::vec3 getSpatialControlPosition(int controlIndex) const = 0; |
| 38 | virtual glm::vec3 getSpatialControlVelocity(int controlIndex) const = 0; | 39 | virtual glm::vec3 getSpatialControlVelocity(int controlIndex) const = 0; |
| 39 | virtual glm::vec3 getSpatialControlNormal(int controlIndex) const = 0; | 40 | virtual glm::vec3 getSpatialControlNormal(int controlIndex) const = 0; |
| 41 | virtual glm::quat getSpatialControlRawRotation(int controlIndex) const = 0; | ||
| 40 | 42 | ||
| 41 | virtual void captureKeyEvents(const KeyEvent& event) = 0; | 43 | virtual void captureKeyEvents(const KeyEvent& event) = 0; |
| 42 | virtual void releaseKeyEvents(const KeyEvent& event) = 0; | 44 | virtual void releaseKeyEvents(const KeyEvent& event) = 0; |