mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 03:17:06 +02:00
Fixed initialization order.
This commit is contained in:
parent
9f8fb56bf4
commit
a4f79390f4
1 changed files with 5 additions and 5 deletions
|
@ -28,6 +28,10 @@ Faceshift::Faceshift() :
|
||||||
_rightBlink(0.0f),
|
_rightBlink(0.0f),
|
||||||
_leftEyeOpen(0.0f),
|
_leftEyeOpen(0.0f),
|
||||||
_rightEyeOpen(0.0f),
|
_rightEyeOpen(0.0f),
|
||||||
|
_leftBlinkIndex(0), // see http://support.faceshift.com/support/articles/35129-export-of-blendshapes
|
||||||
|
_rightBlinkIndex(1),
|
||||||
|
_leftEyeOpenIndex(8),
|
||||||
|
_rightEyeOpenIndex(9),
|
||||||
_browDownLeft(0.0f),
|
_browDownLeft(0.0f),
|
||||||
_browDownRight(0.0f),
|
_browDownRight(0.0f),
|
||||||
_browUpCenter(0.0f),
|
_browUpCenter(0.0f),
|
||||||
|
@ -35,6 +39,7 @@ Faceshift::Faceshift() :
|
||||||
_browUpRight(0.0f),
|
_browUpRight(0.0f),
|
||||||
_browDownLeftIndex(-1),
|
_browDownLeftIndex(-1),
|
||||||
_browDownRightIndex(-1),
|
_browDownRightIndex(-1),
|
||||||
|
_browUpCenterIndex(16),
|
||||||
_browUpLeftIndex(-1),
|
_browUpLeftIndex(-1),
|
||||||
_browUpRightIndex(-1),
|
_browUpRightIndex(-1),
|
||||||
_mouthSize(0.0f),
|
_mouthSize(0.0f),
|
||||||
|
@ -42,11 +47,6 @@ Faceshift::Faceshift() :
|
||||||
_mouthSmileRight(0),
|
_mouthSmileRight(0),
|
||||||
_mouthSmileLeftIndex(-1),
|
_mouthSmileLeftIndex(-1),
|
||||||
_mouthSmileRightIndex(0),
|
_mouthSmileRightIndex(0),
|
||||||
_leftBlinkIndex(0), // see http://support.faceshift.com/support/articles/35129-export-of-blendshapes
|
|
||||||
_rightBlinkIndex(1),
|
|
||||||
_leftEyeOpenIndex(8),
|
|
||||||
_rightEyeOpenIndex(9),
|
|
||||||
_browUpCenterIndex(16),
|
|
||||||
_jawOpenIndex(21),
|
_jawOpenIndex(21),
|
||||||
_longTermAverageEyePitch(0.0f),
|
_longTermAverageEyePitch(0.0f),
|
||||||
_longTermAverageEyeYaw(0.0f),
|
_longTermAverageEyeYaw(0.0f),
|
||||||
|
|
Loading…
Reference in a new issue