mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
Well, I guess OS X doesn't like || and && without parentheses.
This commit is contained in:
parent
6eb421d564
commit
f2f29d2e60
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ void Head::simulate(float deltaTime, bool isMine) {
|
|||
if (_leftEyeBlinkVelocity == 0.0f && _rightEyeBlinkVelocity == 0.0f) {
|
||||
// no blinking when brows are raised; blink less with increasing loudness
|
||||
const float ROOT_LOUDNESS_TO_BLINK_INTERVAL = 0.75f;
|
||||
if (forceBlink || _browAudioLift < EPSILON && shouldDo(
|
||||
sqrtf(_averageLoudness) * ROOT_LOUDNESS_TO_BLINK_INTERVAL, deltaTime)) {
|
||||
if (forceBlink || (_browAudioLift < EPSILON && shouldDo(
|
||||
sqrtf(_averageLoudness) * ROOT_LOUDNESS_TO_BLINK_INTERVAL, deltaTime))) {
|
||||
_leftEyeBlinkVelocity = BLINK_SPEED;
|
||||
_rightEyeBlinkVelocity = BLINK_SPEED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue