aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/twist-vert-material.js
diff options
context:
space:
mode:
authorhwc4872012-04-04 05:52:54 -0700
committerhwc4872012-04-04 05:52:54 -0700
commit0f31002ca696c1ef303d2926a504afd27305e94f (patch)
tree8f3684ff426fd94db338b802ecf1eed643efde9d /js/lib/rdge/materials/twist-vert-material.js
parent4b199cf04af83f59895d4d1e9a2d8443c1ec8e06 (diff)
downloadninja-0f31002ca696c1ef303d2926a504afd27305e94f.tar.gz
Added Flag material
Diffstat (limited to 'js/lib/rdge/materials/twist-vert-material.js')
-rw-r--r--js/lib/rdge/materials/twist-vert-material.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/twist-vert-material.js b/js/lib/rdge/materials/twist-vert-material.js
index 2d2cdcc5..802690a2 100644
--- a/js/lib/rdge/materials/twist-vert-material.js
+++ b/js/lib/rdge/materials/twist-vert-material.js
@@ -36,6 +36,7 @@ function TwistVertMaterial()
36 this.getShaderName = function() { return this._shaderName; } 36 this.getShaderName = function() { return this._shaderName; }
37 37
38 this.isAnimated = function() { return true; } 38 this.isAnimated = function() { return true; }
39
39 this.hasVertexDeformation = function() { return this._hasVertexDeformation; } 40 this.hasVertexDeformation = function() { return this._hasVertexDeformation; }
40 this._hasVertexDeformation = true; 41 this._hasVertexDeformation = true;
41 this._vertexDeformationTolerance = 0.02; // should be a property 42 this._vertexDeformationTolerance = 0.02; // should be a property