History

fixed build buster

ZappoMan committed 12 years ago

Commit 4f3f6c01 parent 85498942 files · +7 −9Browse files

Showing the changes to interface/src/ControllerScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/ControllerScriptingInterface.cpp+0−3
@@ -134,9 +134,6 @@ int ControllerScriptingInterface::getNumberOfSpatialControls() const { · 133 unmodified lines
134 return getNumberOfActivePalms() * NUMBER_OF_SPATIALCONTROLS_PER_PALM;134 return getNumberOfActivePalms() * NUMBER_OF_SPATIALCONTROLS_PER_PALM;
135}135}
136 136
137const int PALM_SPATIALCONTROL = 0;
138const int TIP_SPATIALCONTROL = 1;
139
140glm::vec3 ControllerScriptingInterface::getSpatialControlPosition(int controlIndex) const {137glm::vec3 ControllerScriptingInterface::getSpatialControlPosition(int controlIndex) const {
141 int palmIndex = controlIndex / NUMBER_OF_SPATIALCONTROLS_PER_PALM;138 int palmIndex = controlIndex / NUMBER_OF_SPATIALCONTROLS_PER_PALM;
142 int controlOfPalm = controlIndex % NUMBER_OF_SPATIALCONTROLS_PER_PALM;139 int controlOfPalm = controlIndex % NUMBER_OF_SPATIALCONTROLS_PER_PALM;