From 8f547d9bdd20f27f84668db211732d34b59f5988 Mon Sep 17 00:00:00 2001 From: luiscuenca Date: Mon, 23 Jul 2018 16:37:25 -0700 Subject: [PATCH] fix warnings --- libraries/animation/src/Rig.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/animation/src/Rig.cpp b/libraries/animation/src/Rig.cpp index c854b9dae3..b0a4020c60 100644 --- a/libraries/animation/src/Rig.cpp +++ b/libraries/animation/src/Rig.cpp @@ -1500,8 +1500,6 @@ bool Rig::calculateElbowPoleVector(int handIndex, int elbowIndex, int armIndex, } glm::vec3 armToHandDir = armToHand / armToHandDistance; - glm::vec3 armToElbowDir = armToElbow / armToElbowDistance; - glm::vec3 armToHeadPlaneNormal = glm::cross(armToHead, armToHandDir); // The strenght of the resulting pole determined by the arm flex.