From 5618a784c7cd04f1c7e36acaaf2e671d44885777 Mon Sep 17 00:00:00 2001 From: atlante45 Date: Wed, 11 Sep 2013 10:51:31 -0700 Subject: [PATCH] Fixed perlin's face eyes --- interface/src/avatar/PerlinFace.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/src/avatar/PerlinFace.cpp b/interface/src/avatar/PerlinFace.cpp index 0424de7bb3..2fec2b4713 100644 --- a/interface/src/avatar/PerlinFace.cpp +++ b/interface/src/avatar/PerlinFace.cpp @@ -360,10 +360,10 @@ void PerlinFace::updatePositions() { _vertices[EYE_MID_BOTTOM] = (1.0f - _leftBlink) * bottomLeftEyelid + _leftBlink * (topLeftEyelid + bottomLeftEyelid) / 2.0f; - _vertices[NUM_VERTICES + EYE_MID_TOP] = (1.0f - _leftBlink) * topRightEyelid - + _leftBlink * (topRightEyelid + bottomRightEyelid) / 2.0f; - _vertices[NUM_VERTICES + EYE_MID_BOTTOM] = (1.0f - _leftBlink) * bottomRightEyelid - + _leftBlink * (topRightEyelid + bottomRightEyelid) / 2.0f; + _vertices[NUM_VERTICES + EYE_MID_TOP] = (1.0f - _rightBlink) * topRightEyelid + + _rightBlink * (topRightEyelid + bottomRightEyelid) / 2.0f; + _vertices[NUM_VERTICES + EYE_MID_BOTTOM] = (1.0f - _rightBlink) * bottomRightEyelid + + _rightBlink * (topRightEyelid + bottomRightEyelid) / 2.0f; } void PerlinFace::updateVertices() {