History

add support for palm and tip spatial data to JS interface

ZappoMan committed 12 years ago

Commit 85498941 parent efdef1a3 files · +51 −2Browse files

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

Unified · Split

libraries/script-engine/src/AbstractControllerScriptingInterface.h+2−0
@@ -31,6 +31,8 @@ public slots: · 30 unmodified lines
3131
3232 virtual int getNumberOfSpatialControls() const = 0;
3333 virtual glm::vec3 getSpatialControlPosition(int controlIndex) const = 0;
34+ virtual glm::vec3 getSpatialControlVelocity(int controlIndex) const = 0;
35+ virtual glm::vec3 getSpatialControlNormal(int controlIndex) const = 0;
3436 };
3537
3638 #endif /* defined(__hifi__AbstractControllerScriptingInterface__) */