diff options
author | hwc487 | 2012-04-04 05:52:54 -0700 |
---|---|---|
committer | hwc487 | 2012-04-04 05:52:54 -0700 |
commit | 0f31002ca696c1ef303d2926a504afd27305e94f (patch) | |
tree | 8f3684ff426fd94db338b802ecf1eed643efde9d /js/lib/rdge/materials/material.js | |
parent | 4b199cf04af83f59895d4d1e9a2d8443c1ec8e06 (diff) | |
download | ninja-0f31002ca696c1ef303d2926a504afd27305e94f.tar.gz |
Added Flag material
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-x | js/lib/rdge/materials/material.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js index 13251ce8..a81ca18f 100755 --- a/js/lib/rdge/materials/material.js +++ b/js/lib/rdge/materials/material.js | |||
@@ -38,6 +38,11 @@ var Material = function GLMaterial( world ) { | |||
38 | this._shader = null; | 38 | this._shader = null; |
39 | this._materialNode = null; | 39 | this._materialNode = null; |
40 | 40 | ||
41 | // vertex deformation variables | ||
42 | this._hasVertexDeformation = false; | ||
43 | this._vertexDeformationRange = [0, 0, 1, 1]; // (xMin, yMin, xMax, yMax) | ||
44 | this._vertexDeformationTolerance = 0.02; | ||
45 | |||
41 | /////////////////////////////////////////////////////////////////////// | 46 | /////////////////////////////////////////////////////////////////////// |
42 | // Property Accessors | 47 | // Property Accessors |
43 | /////////////////////////////////////////////////////////////////////// | 48 | /////////////////////////////////////////////////////////////////////// |