History

remove FingerData class and related cleanup

Andrew Meadows committed 12 years ago

Commit 49dedb71 parent 55c92829 files · +63 −274Browse files

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

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+2−2
@@ -198,9 +198,9 @@ glm::vec3 ControllerScriptingInterface::getSpatialControlNormal(int controlIndex · 197 unmodified lines
198198 if (palmData) {
199199 switch (controlOfPalm) {
200200 case PALM_SPATIALCONTROL:
201− return palmData->getNormal();
201+ return palmData->getPalmDirection();
202202 case TIP_SPATIALCONTROL:
203− return palmData->getNormal(); // currently the tip doesn't have a unique normal, use the palm normal
203+ return palmData->getFingerDirection();
204204 }
205205 }
206206 return glm::vec3(0); // bad index