aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/twist-vert-material.js
diff options
context:
space:
mode:
authorKris Kowal2012-07-06 11:53:10 -0700
committerKris Kowal2012-07-06 15:01:48 -0700
commit04343eda8c2f870b0da55cfdc8003c99fe1cc4de (patch)
tree0a6048889b65bb16ff58822e55bc1346e9eb07bd /js/lib/rdge/materials/twist-vert-material.js
parent648ee61ae84216d0236e0dbc211addc13b2cfa3a (diff)
downloadninja-04343eda8c2f870b0da55cfdc8003c99fe1cc4de.tar.gz
Remove trailing spaces
Diffstat (limited to 'js/lib/rdge/materials/twist-vert-material.js')
-rw-r--r--js/lib/rdge/materials/twist-vert-material.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/rdge/materials/twist-vert-material.js b/js/lib/rdge/materials/twist-vert-material.js
index 6ab2662e..1c04a90c 100644
--- a/js/lib/rdge/materials/twist-vert-material.js
+++ b/js/lib/rdge/materials/twist-vert-material.js
@@ -61,7 +61,7 @@ var TwistVertMaterial = function TwistVertMaterial()
61 this.isAnimated = function () { return true; }; 61 this.isAnimated = function () { return true; };
62 this.getShaderDef = function() { return twistVertShaderDef; }; 62 this.getShaderDef = function() { return twistVertShaderDef; };
63 this.getTechniqueName = function() { return 'twistMe' }; 63 this.getTechniqueName = function() { return 'twistMe' };
64 64
65 this.hasVertexDeformation = function () { return this._hasVertexDeformation; }; 65 this.hasVertexDeformation = function () { return this._hasVertexDeformation; };
66 this._hasVertexDeformation = true; 66 this._hasVertexDeformation = true;
67 this._vertexDeformationTolerance = 0.02; // should be a property 67 this._vertexDeformationTolerance = 0.02; // should be a property
@@ -110,7 +110,7 @@ var TwistVertMaterial = function TwistVertMaterial()
110 if (this._shader && this._shader.twistMe) 110 if (this._shader && this._shader.twistMe)
111 { 111 {
112 var technique = this._shader.twistMe; 112 var technique = this._shader.twistMe;
113 113
114 var angle = this._angle; 114 var angle = this._angle;
115 angle += this._deltaTime * this._propValues["speed"]; 115 angle += this._deltaTime * this._propValues["speed"];
116 if (angle > this._propValues["u_twistAmount"]) 116 if (angle > this._propValues["u_twistAmount"])