Remove unused variables.

This commit is contained in:
Andrzej Kapolka 2013-10-28 16:07:07 -07:00
parent 6d8f8dc8ed
commit e7b05f40ef
2 changed files with 0 additions and 9 deletions

View file

@ -443,14 +443,7 @@ void Avatar::setMouseRay(const glm::vec3 &origin, const glm::vec3 &direction) {
}
void Avatar::updateHandMovementAndTouching(float deltaTime, bool enableHandMovement) {
glm::quat orientation = getOrientation();
// reset hand and arm positions according to hand movement
glm::vec3 right = orientation * IDENTITY_RIGHT;
glm::vec3 up = orientation * IDENTITY_UP;
glm::vec3 front = orientation * IDENTITY_FRONT;
enableHandMovement |= updateLeapHandPositions();
//constrain right arm length and re-adjust elbow position as it bends

View file

@ -828,9 +828,7 @@ void MyAvatar::updateHandMovementAndTouching(float deltaTime, bool enableHandMov
glm::quat orientation = getOrientation();
// reset hand and arm positions according to hand movement
glm::vec3 right = orientation * IDENTITY_RIGHT;
glm::vec3 up = orientation * IDENTITY_UP;
glm::vec3 front = orientation * IDENTITY_FRONT;
if (enableHandMovement) {
// confine to the approximate shoulder plane