mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 23:33:48 +02:00
fix warning about unused variable
This commit is contained in:
parent
ff83f8fc37
commit
45e31ca442
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ void Avatar::animateScaleChanges(float deltaTime) {
|
|||
|
||||
// snap to the end when we get close enough
|
||||
const float MIN_RELATIVE_SCALE_ERROR = 0.03f;
|
||||
if (fabsf(_targetScale - currentScale) / _targetScale < 0.03f) {
|
||||
if (fabsf(_targetScale - currentScale) / _targetScale < MIN_RELATIVE_SCALE_ERROR) {
|
||||
animatedScale = _targetScale;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue