Skip to content

Commit 24278c6

Browse files
committed
Fixed EarCut path.
Removed redundant TextureSource properties.
1 parent 52bb355 commit 24278c6

5 files changed

Lines changed: 3 additions & 33 deletions

File tree

v3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phaser",
3-
"version": "3.0.0-alpha.2",
3+
"version": "3.0.0-alpha.3",
44
"release": "Shadow Coast",
55
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
66
"author": "Richard Davey <rdavey@gmail.com> (http://www.photonstorm.com)",

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: '6679d360-760a-11e7-a269-e30c1bdc423d'
2+
build: 'e6190010-76d1-11e7-bdd9-f146bb3b0102'
33
};
44
module.exports = CHECKSUM;

v3/src/renderer/webgl/renderers/shapebatch/ShapeBatch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var Class = require('../../../../utils/Class');
22
var CONST = require('./const');
33
var DataBuffer32 = require('../../utils/DataBuffer32');
4-
var Earcut = require('../../../../geom/earcut/Earcut');
4+
var Earcut = require('../../../../geom/polygon/Earcut');
55
var PHASER_CONST = require('../../../../const');
66
var UntexturedAndNormalizedTintedShader = require('../../shaders/UntexturedAndNormalizedTintedShader');
77

v3/src/textures/Texture.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,18 +133,6 @@ var Texture = new Class({
133133
}
134134
},
135135

136-
setTextureIndex: function (index)
137-
{
138-
for (var i = 0; i < this.source.length; i++)
139-
{
140-
this.source[i].glTextureIndex = index;
141-
142-
index++;
143-
}
144-
145-
return index;
146-
},
147-
148136
setFilter: function (filterMode)
149137
{
150138
for (var i = 0; i < this.source.length; i++)

v3/src/textures/TextureSource.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,6 @@ var TextureSource = new Class({
2323

2424
this.scaleMode = ScaleModes.DEFAULT;
2525

26-
// USED?
27-
this.premultipliedAlpha = true;
28-
29-
// USED?
30-
this.mipmapLevel = 0;
31-
32-
// USED?
33-
this.renderable = true;
34-
35-
// USED?
36-
this.glTextureIndex = 0;
37-
38-
// USED?
39-
this.glDirty = true;
40-
41-
// USED?
42-
this.glLastUsed = 0;
43-
4426
this.isPowerOf2 = IsSizePowerOfTwo(this.width, this.height);
4527

4628
this.glTexture = null;

0 commit comments

Comments
 (0)