Added getVector methods

This commit is contained in:
Richard Davey 2019-07-29 17:45:37 +01:00
parent 5e6dc5e2a6
commit 4293a444e3

View file

@ -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; }