فهرست منبع

fix easeOut blend type

David Rose 21 سال پیش
والد
کامیت
8ea3435458
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      direct/src/interval/cLerpInterval.cxx

+ 1 - 1
direct/src/interval/cLerpInterval.cxx

@@ -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: