Skip to content

Commit f42908f

Browse files
committed
3.50 Spine Plugin Release
1 parent f38530d commit f42908f

6 files changed

Lines changed: 12 additions & 27 deletions

File tree

plugins/spine/dist/SpineCanvasPlugin.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14067,8 +14067,6 @@ module.exports = RotateTo;
1406714067
* greater than 0 then it's a counter-clockwise rotation, if < 0 then it's
1406814068
* a clockwise rotation.
1406914069
*
14070-
* TODO: Wrap the angles in this function?
14071-
*
1407214070
* @function Phaser.Math.Angle.ShortestBetween
1407314071
* @since 3.0.0
1407414072
*
@@ -17902,7 +17900,6 @@ var RandomXYZW = function (vec4, scale)
1790217900
{
1790317901
if (scale === undefined) { scale = 1; }
1790417902

17905-
// TODO: Not spherical; should fix this for more uniform distribution
1790617903
vec4.x = (Math.random() * 2 - 1) * scale;
1790717904
vec4.y = (Math.random() * 2 - 1) * scale;
1790817905
vec4.z = (Math.random() * 2 - 1) * scale;
@@ -18708,9 +18705,6 @@ var Vector4 = new Class({
1870818705
*/
1870918706
transformQuat: function (q)
1871018707
{
18711-
// TODO: is this really the same as Vector3?
18712-
// Also, what about this: http://molecularmusings.wordpress.com/2013/05/24/a-faster-quaternion-vector-multiplication/
18713-
// benchmarks: http://jsperf.com/quaternion-transform-vec3-implementations
1871418708
var x = this.x;
1871518709
var y = this.y;
1871618710
var z = this.z;
@@ -18753,7 +18747,6 @@ var Vector4 = new Class({
1875318747

1875418748
});
1875518749

18756-
// TODO: Check if these are required internally, if not, remove.
1875718750
Vector4.prototype.sub = Vector4.prototype.subtract;
1875818751
Vector4.prototype.mul = Vector4.prototype.multiply;
1875918752
Vector4.prototype.div = Vector4.prototype.divide;
@@ -41540,7 +41533,9 @@ var Pipeline = {
4154041533
{
4154141534
var instance = pipelines[i];
4154241535

41543-
if ((typeof pipeline === 'string' && instance.name === pipeline) || instance instanceof pipeline)
41536+
if (
41537+
(typeof pipeline === 'string' && instance.name === pipeline) ||
41538+
(typeof pipeline !== 'string' && instance instanceof pipeline))
4154441539
{
4154541540
instance.destroy();
4154641541

plugins/spine/dist/SpineCanvasPlugin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/spine/dist/SpinePlugin.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14138,8 +14138,6 @@ module.exports = RotateTo;
1413814138
* greater than 0 then it's a counter-clockwise rotation, if < 0 then it's
1413914139
* a clockwise rotation.
1414014140
*
14141-
* TODO: Wrap the angles in this function?
14142-
*
1414314141
* @function Phaser.Math.Angle.ShortestBetween
1414414142
* @since 3.0.0
1414514143
*
@@ -17973,7 +17971,6 @@ var RandomXYZW = function (vec4, scale)
1797317971
{
1797417972
if (scale === undefined) { scale = 1; }
1797517973

17976-
// TODO: Not spherical; should fix this for more uniform distribution
1797717974
vec4.x = (Math.random() * 2 - 1) * scale;
1797817975
vec4.y = (Math.random() * 2 - 1) * scale;
1797917976
vec4.z = (Math.random() * 2 - 1) * scale;
@@ -18779,9 +18776,6 @@ var Vector4 = new Class({
1877918776
*/
1878018777
transformQuat: function (q)
1878118778
{
18782-
// TODO: is this really the same as Vector3?
18783-
// Also, what about this: http://molecularmusings.wordpress.com/2013/05/24/a-faster-quaternion-vector-multiplication/
18784-
// benchmarks: http://jsperf.com/quaternion-transform-vec3-implementations
1878518779
var x = this.x;
1878618780
var y = this.y;
1878718781
var z = this.z;
@@ -18824,7 +18818,6 @@ var Vector4 = new Class({
1882418818

1882518819
});
1882618820

18827-
// TODO: Check if these are required internally, if not, remove.
1882818821
Vector4.prototype.sub = Vector4.prototype.subtract;
1882918822
Vector4.prototype.mul = Vector4.prototype.multiply;
1883018823
Vector4.prototype.div = Vector4.prototype.divide;
@@ -44234,7 +44227,9 @@ var Pipeline = {
4423444227
{
4423544228
var instance = pipelines[i];
4423644229

44237-
if ((typeof pipeline === 'string' && instance.name === pipeline) || instance instanceof pipeline)
44230+
if (
44231+
(typeof pipeline === 'string' && instance.name === pipeline) ||
44232+
(typeof pipeline !== 'string' && instance instanceof pipeline))
4423844233
{
4423944234
instance.destroy();
4424044235

plugins/spine/dist/SpinePlugin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/spine/dist/SpineWebGLPlugin.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14138,8 +14138,6 @@ module.exports = RotateTo;
1413814138
* greater than 0 then it's a counter-clockwise rotation, if < 0 then it's
1413914139
* a clockwise rotation.
1414014140
*
14141-
* TODO: Wrap the angles in this function?
14142-
*
1414314141
* @function Phaser.Math.Angle.ShortestBetween
1414414142
* @since 3.0.0
1414514143
*
@@ -17973,7 +17971,6 @@ var RandomXYZW = function (vec4, scale)
1797317971
{
1797417972
if (scale === undefined) { scale = 1; }
1797517973

17976-
// TODO: Not spherical; should fix this for more uniform distribution
1797717974
vec4.x = (Math.random() * 2 - 1) * scale;
1797817975
vec4.y = (Math.random() * 2 - 1) * scale;
1797917976
vec4.z = (Math.random() * 2 - 1) * scale;
@@ -18779,9 +18776,6 @@ var Vector4 = new Class({
1877918776
*/
1878018777
transformQuat: function (q)
1878118778
{
18782-
// TODO: is this really the same as Vector3?
18783-
// Also, what about this: http://molecularmusings.wordpress.com/2013/05/24/a-faster-quaternion-vector-multiplication/
18784-
// benchmarks: http://jsperf.com/quaternion-transform-vec3-implementations
1878518779
var x = this.x;
1878618780
var y = this.y;
1878718781
var z = this.z;
@@ -18824,7 +18818,6 @@ var Vector4 = new Class({
1882418818

1882518819
});
1882618820

18827-
// TODO: Check if these are required internally, if not, remove.
1882818821
Vector4.prototype.sub = Vector4.prototype.subtract;
1882918822
Vector4.prototype.mul = Vector4.prototype.multiply;
1883018823
Vector4.prototype.div = Vector4.prototype.divide;
@@ -43844,7 +43837,9 @@ var Pipeline = {
4384443837
{
4384543838
var instance = pipelines[i];
4384643839

43847-
if ((typeof pipeline === 'string' && instance.name === pipeline) || instance instanceof pipeline)
43840+
if (
43841+
(typeof pipeline === 'string' && instance.name === pipeline) ||
43842+
(typeof pipeline !== 'string' && instance instanceof pipeline))
4384843843
{
4384943844
instance.destroy();
4385043845

plugins/spine/dist/SpineWebGLPlugin.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)