mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Added getVector methods
This commit is contained in:
parent
5e6dc5e2a6
commit
4293a444e3
1 changed files with 10 additions and 0 deletions
|
@ -212,6 +212,16 @@ var SpinePlugin = new Class({
|
|||
return atlas;
|
||||
},
|
||||
|
||||
getVector2: function (x, y)
|
||||
{
|
||||
return new Spine.Vector2(x, y);
|
||||
},
|
||||
|
||||
getVector3: function (x, y, z)
|
||||
{
|
||||
return new Spine.webgl.Vector3(x, y, z);
|
||||
},
|
||||
|
||||
setDebugBones: function (value)
|
||||
{
|
||||
if (value === undefined) { value = true; }
|
||||
|
|
Loading…
Reference in a new issue