chore: dfaults
This commit is contained in:
parent
ad67ee5d90
commit
18fa7a64cc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user