warning fix + whitespace

This commit is contained in:
Anthony J. Thibault 2017-07-13 15:02:05 -07:00
parent fe711ccbe9
commit 2e0bc36cfd

View file

@ -1073,7 +1073,7 @@ void ViveControllerManager::InputDevice::calibrateShoulders(glm::mat4& defaultTo
glm::mat4 refRightArm = defaultToReferenceMat * inputCalibration.defaultRightArm;
glm::mat4 userRefLeftArm = refLeftArm;
glm::mat4 userRefRightArm = refRightArm;
const float PUCK_TO_USER_REF_ARM_Y_OFFSET = -0.06;
const float PUCK_TO_USER_REF_ARM_Y_OFFSET = -0.06f;
if (firstShoulderPose.translation.x < secondShoulderPose.translation.x) {
_jointToPuckMap[controller::LEFT_ARM] = firstShoulder.first;