History

moving the hydra grab behavior to JS

ZappoMan committed 12 years ago

Commit 991c7201 parent 3f73b6111 files · +132 −68Browse files

Showing the changes to libraries/script-engine/src/AbstractControllerScriptingInterface.h (1 of 11 files). Show all

Unified · Split

libraries/script-engine/src/AbstractControllerScriptingInterface.h+2−0
@@ -12,6 +12,7 @@ · 11 unmodified lines
1212 #include <QtCore/QObject>
1313
1414 #include <glm/glm.hpp>
15+#include <glm/gtc/quaternion.hpp>
1516
1617 #include "EventTypes.h"
1718
@@ -37,6 +38,7 @@ public slots: · 19 unmodified lines
3738 virtual glm::vec3 getSpatialControlPosition(int controlIndex) const = 0;
3839 virtual glm::vec3 getSpatialControlVelocity(int controlIndex) const = 0;
3940 virtual glm::vec3 getSpatialControlNormal(int controlIndex) const = 0;
41+ virtual glm::quat getSpatialControlRawRotation(int controlIndex) const = 0;
4042
4143 virtual void captureKeyEvents(const KeyEvent& event) = 0;
4244 virtual void releaseKeyEvents(const KeyEvent& event) = 0;