mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Removed mvp as the plugin can use a single instance
This commit is contained in:
parent
bed1141d9a
commit
ff03c4389c
1 changed files with 2 additions and 3 deletions
|
@ -13,7 +13,6 @@ var ComponentsTransform = require('../../../../src/gameobjects/components/Transf
|
|||
var ComponentsVisible = require('../../../../src/gameobjects/components/Visible');
|
||||
var GameObject = require('../../../../src/gameobjects/GameObject');
|
||||
var SpineGameObjectRender = require('./SpineGameObjectRender');
|
||||
var Matrix4 = require('../../../../src/math/Matrix4');
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
|
@ -48,10 +47,10 @@ var SpineGameObject = new Class({
|
|||
|
||||
this.runtime = plugin.getRuntime();
|
||||
|
||||
this.mvp = new Matrix4();
|
||||
|
||||
GameObject.call(this, scene, 'Spine');
|
||||
|
||||
this.drawDebug = false;
|
||||
|
||||
var data = this.plugin.createSkeleton(key);
|
||||
|
||||
this.skeletonData = data.skeletonData;
|
||||
|
|
Loading…
Reference in a new issue