mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix easeOut blend type
This commit is contained in:
parent
8d7a27547f
commit
8ea3435458
@ -72,7 +72,7 @@ compute_delta(double t) const {
|
|||||||
case BT_ease_out:
|
case BT_ease_out:
|
||||||
{
|
{
|
||||||
double t2 = t * t;
|
double t2 = t * t;
|
||||||
return ((3.0 * t2) - (t2 * t)) * 0.5;
|
return ((3.0 * t) - (t2 * t)) * 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
case BT_ease_in_out:
|
case BT_ease_in_out:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user