Set rotation center to [0, 0] in setEmptyImageData

This commit is contained in:
adroitwhiz
2020-03-04 23:49:09 -05:00
parent 2a36dadf21
commit dd93869411

View File

@@ -212,6 +212,9 @@ class Skin extends EventEmitter {
this._emptyImageTexture = twgl.createTexture(gl, textureOptions);
}
this._rotationCenter[0] = 0;
this._rotationCenter[1] = 0;
this._silhouette.update(this._emptyImageData);
this.emit(Skin.Events.WasAltered);
}