wgge 2.0.4 → 2.0.5

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.
@@ -26,7 +26,7 @@ export default class AnimationRotationVector2Controller extends AnimationControl
26
26
  constructor(game, model, target, duration, easing = EASING_FLAT, elapsed = 0) {
27
27
  super(game, model);
28
28
  this.model = model;
29
- this.animated = new AnimatedRotation(model.x, target.x, duration, easing, elapsed);
29
+ this.animated = new AnimatedRotation(model.get(), target.get(), duration, easing, elapsed);
30
30
  }
31
31
 
32
32
  updateInternal(delta) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgge",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Web GL Game Engine",
5
5
  "main": "index.js",
6
6
  "devDependencies": {