mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 13:53:38 +02:00
Remove unused variables.
This commit is contained in:
parent
6d8f8dc8ed
commit
e7b05f40ef
2 changed files with 0 additions and 9 deletions
|
@ -443,14 +443,7 @@ void Avatar::setMouseRay(const glm::vec3 &origin, const glm::vec3 &direction) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Avatar::updateHandMovementAndTouching(float deltaTime, bool enableHandMovement) {
|
void Avatar::updateHandMovementAndTouching(float deltaTime, bool enableHandMovement) {
|
||||||
|
|
||||||
glm::quat orientation = getOrientation();
|
|
||||||
|
|
||||||
// reset hand and arm positions according to hand movement
|
// 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();
|
enableHandMovement |= updateLeapHandPositions();
|
||||||
|
|
||||||
//constrain right arm length and re-adjust elbow position as it bends
|
//constrain right arm length and re-adjust elbow position as it bends
|
||||||
|
|
|
@ -828,9 +828,7 @@ void MyAvatar::updateHandMovementAndTouching(float deltaTime, bool enableHandMov
|
||||||
glm::quat orientation = getOrientation();
|
glm::quat orientation = getOrientation();
|
||||||
|
|
||||||
// reset hand and arm positions according to hand movement
|
// reset hand and arm positions according to hand movement
|
||||||
glm::vec3 right = orientation * IDENTITY_RIGHT;
|
|
||||||
glm::vec3 up = orientation * IDENTITY_UP;
|
glm::vec3 up = orientation * IDENTITY_UP;
|
||||||
glm::vec3 front = orientation * IDENTITY_FRONT;
|
|
||||||
|
|
||||||
if (enableHandMovement) {
|
if (enableHandMovement) {
|
||||||
// confine to the approximate shoulder plane
|
// confine to the approximate shoulder plane
|
||||||
|
|
Loading…
Reference in a new issue