mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-19 06:46:28 +01:00
cleaned EaseRate
This commit is contained in:
parent
adb974ea87
commit
973240c997
@ -10,6 +10,6 @@ export class EaseOut extends EaseRate
|
|||||||
|
|
||||||
public update(k: number): void
|
public update(k: number): void
|
||||||
{
|
{
|
||||||
this._interval.update(Math.pow(k, (1 / this._Str_21638)));
|
this._interval.update(Math.pow(k, (1 / this._rate)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,12 +3,12 @@ import { Interval } from './Interval';
|
|||||||
|
|
||||||
export class EaseRate extends Ease
|
export class EaseRate extends Ease
|
||||||
{
|
{
|
||||||
protected _Str_21638: number;
|
protected _rate: number;
|
||||||
|
|
||||||
constructor(k: Interval, _arg_2: number)
|
constructor(k: Interval, _arg_2: number)
|
||||||
{
|
{
|
||||||
super(k);
|
super(k);
|
||||||
|
|
||||||
this._Str_21638 = _arg_2;
|
this._rate = _arg_2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user