mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Removed normalMatrix
This commit is contained in:
parent
2e774063f2
commit
90824e1485
1 changed files with 0 additions and 10 deletions
|
@ -273,8 +273,6 @@ var Mesh = new Class({
|
|||
*/
|
||||
this.transformMatrix = new Matrix4();
|
||||
|
||||
this.normalMatrix = new Matrix4();
|
||||
|
||||
/**
|
||||
* Internal cached value.
|
||||
*
|
||||
|
@ -1139,12 +1137,6 @@ var Mesh = new Class({
|
|||
camera.projectionMatrix
|
||||
);
|
||||
|
||||
var normalMatrix = this.normalMatrix;
|
||||
|
||||
normalMatrix.copy(transformMatrix);
|
||||
normalMatrix.invert();
|
||||
normalMatrix.transpose();
|
||||
|
||||
var z = camera.position.z;
|
||||
|
||||
var vertices = this.vertices;
|
||||
|
@ -1155,8 +1147,6 @@ var Mesh = new Class({
|
|||
}
|
||||
|
||||
this.depthSort();
|
||||
|
||||
console.log('dirty');
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue