chore: dfaults

This commit is contained in:
cha0s 2021-02-03 15:27:58 -06:00
parent ad67ee5d90
commit 18fa7a64cc

View File

@ -38,12 +38,7 @@ export default () => class Emitted extends decorate(Trait) {
this.#alphaEnd = new Range(params.alpha.end);
this.#force = new Vector.Range(params.force);
this.#mass = params.mass;
if (null !== params.position) {
this.#position = new Vector.Range(params.position);
}
else {
this.#position = null;
}
this.#position = null;
this.#rotationStart = new Range(params.rotation.start);
this.#rotationAdd = new Range(params.rotation.add);
this.#scaleStart = new Range(params.scale.start);