wgge 0.1.33 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,9 @@ export const EASING_QUAD_IN = EASING_EXPONENTIAL_IN;
|
|
|
5
5
|
export const EASING_QUAD_IN_OUT = EASING_EXPONENTIAL_IN_OUT;
|
|
6
6
|
export const EASING_CUBIC_IN = (x) => EASING_EXPONENTIAL_IN(x, 3);
|
|
7
7
|
export const EASING_CUBIC_IN_OUT = (x) => EASING_EXPONENTIAL_IN_OUT(x, 3);
|
|
8
|
-
export const
|
|
8
|
+
export const EASING_SPHERE_IN = (v) => 1 - Math.sqrt(1 - Math.pow(v, 2));
|
|
9
|
+
export const EASING_SPHERE_OUT = (v) => Math.sqrt(1 - Math.pow(1 - v, 2));
|
|
10
|
+
export const EASING_SIN_OUT = (x) => Math.sin(x * Math.PI * 0.5)
|
|
9
11
|
|
|
10
12
|
export default class ProgressValue {
|
|
11
13
|
start;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import ParticleController from "../ParticleController";
|
|
2
2
|
import ControllerBase from "../../controller/ControllerBase";
|
|
3
3
|
import Vector3 from "../../model/vector/Vector3";
|
|
4
|
+
import CollectionController from "../../controller/CollectionController";
|
|
4
5
|
|
|
5
6
|
export default class ParticleGeneratorController extends ControllerBase {
|
|
6
7
|
|