diff options
author | Valerio Virgillito | 2012-07-12 15:42:58 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-12 15:42:58 -0700 |
commit | 2880e1d55a374d48cf39ee074a7a812cd57e1092 (patch) | |
tree | b1f12bce35d5281a3a3d47e3cdcbd75d4c498810 /js/lib | |
parent | 688e22dc367f37d4b8734a37daa3b823ea450295 (diff) | |
parent | 325cf1dcbd7fc1e1ec6a9ac4829954f7e0ae2afb (diff) | |
download | ninja-2880e1d55a374d48cf39ee074a7a812cd57e1092.tar.gz |
Merge pull request #389 from ericmueller/GridFixes
Grid fixes
Diffstat (limited to 'js/lib')
-rwxr-xr-x | js/lib/rdge/materials/material.js | 2 | ||||
-rw-r--r-- | js/lib/rdge/materials/taper-material.js | 2 | ||||
-rw-r--r-- | js/lib/rdge/materials/twist-vert-material.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js index 0f6f6c92..e8571e9d 100755 --- a/js/lib/rdge/materials/material.js +++ b/js/lib/rdge/materials/material.js | |||
@@ -57,7 +57,7 @@ var Material = function GLMaterial( world ) { | |||
57 | // vertex deformation variables | 57 | // vertex deformation variables |
58 | this._hasVertexDeformation = false; | 58 | this._hasVertexDeformation = false; |
59 | this._vertexDeformationRange = [0, 0, 1, 1]; // (xMin, yMin, xMax, yMax) | 59 | this._vertexDeformationRange = [0, 0, 1, 1]; // (xMin, yMin, xMax, yMax) |
60 | this._vertexDeformationTolerance = 0.02; | 60 | this._vertexDeformationTolerance = 0.1; |
61 | 61 | ||
62 | // RDGE variables | 62 | // RDGE variables |
63 | this._shader = null; | 63 | this._shader = null; |
diff --git a/js/lib/rdge/materials/taper-material.js b/js/lib/rdge/materials/taper-material.js index 73e344d5..929dffa6 100644 --- a/js/lib/rdge/materials/taper-material.js +++ b/js/lib/rdge/materials/taper-material.js | |||
@@ -61,7 +61,7 @@ var TaperMaterial = function TaperMaterial() | |||
61 | 61 | ||
62 | this.hasVertexDeformation = function () { return this._hasVertexDeformation; }; | 62 | this.hasVertexDeformation = function () { return this._hasVertexDeformation; }; |
63 | this._hasVertexDeformation = true; | 63 | this._hasVertexDeformation = true; |
64 | this._vertexDeformationTolerance = 0.02; // should be a property | 64 | this._vertexDeformationTolerance = 0.1; // should be a property |
65 | 65 | ||
66 | this.getVertexDeformationTolerance = function() { return this._propValues[this._propNames[7]]; }; | 66 | this.getVertexDeformationTolerance = function() { return this._propValues[this._propNames[7]]; }; |
67 | 67 | ||
diff --git a/js/lib/rdge/materials/twist-vert-material.js b/js/lib/rdge/materials/twist-vert-material.js index 57ef23ea..c7e7dcc8 100644 --- a/js/lib/rdge/materials/twist-vert-material.js +++ b/js/lib/rdge/materials/twist-vert-material.js | |||
@@ -65,7 +65,7 @@ var TwistVertMaterial = function TwistVertMaterial() | |||
65 | 65 | ||
66 | this.hasVertexDeformation = function () { return this._hasVertexDeformation; }; | 66 | this.hasVertexDeformation = function () { return this._hasVertexDeformation; }; |
67 | this._hasVertexDeformation = true; | 67 | this._hasVertexDeformation = true; |
68 | this._vertexDeformationTolerance = 0.02; // should be a property | 68 | this._vertexDeformationTolerance = 0.1; // should be a property |
69 | 69 | ||
70 | /////////////////////////////////////////////////////////////////////// | 70 | /////////////////////////////////////////////////////////////////////// |
71 | // Material Property Accessors | 71 | // Material Property Accessors |