mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 12:24:26 +02:00
rename color to component
This commit is contained in:
parent
41041c711f
commit
5883bd39dc
1 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@
|
||||||
} else {
|
} else {
|
||||||
// after tween completion reset to zero and flip values to ping pong
|
// after tween completion reset to zero and flip values to ping pong
|
||||||
tweenPosition = 0;
|
tweenPosition = 0;
|
||||||
for (var color in startColor) {
|
for (var component in startColor) {
|
||||||
var storedColor = startColor[color];
|
var storedColor = startColor[component];
|
||||||
startColor[color] = endColor[color];
|
startColor[component] = endColor[component];
|
||||||
endColor[color] = storedColor;
|
endColor[component] = storedColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// mix previous position with new and mix colors
|
// mix previous position with new and mix colors
|
||||||
|
|
Loading…
Reference in a new issue