Skip to content

Commit aec64c6

Browse files
committed
Removed floats
1 parent 88b02a5 commit aec64c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/components/MatrixStack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var MatrixStack = {
5555
initMatrixStack: function ()
5656
{
5757
this.matrixStack = new Float32Array(6000); // up to 1000 matrices
58-
this.currentMatrix = new Float32Array([ 1.0, 0.0, 0.0, 1.0, 0.0, 0.0 ]);
58+
this.currentMatrix = new Float32Array([ 1, 0, 0, 1, 0, 0 ]);
5959
this.currentMatrixIndex = 0;
6060

6161
return this;
@@ -126,7 +126,7 @@ var MatrixStack = {
126126
*/
127127
loadIdentity: function ()
128128
{
129-
this.setTransform(1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
129+
this.setTransform(1, 0, 0, 1, 0, 0);
130130

131131
return this;
132132
},

0 commit comments

Comments
 (0)