aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-09 12:02:27 -0800
committerNivesh Rajbhandari2012-02-09 12:02:27 -0800
commita9b1a1f2642841c4165ede69d131b1deb6238622 (patch)
tree2076dc497fbde041283af8b0082b0f4e24c9e1c6 /js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
parent31e2eb0d0da9b032116ad073918ca36ec11dac45 (diff)
parentce81a3f4387d80f9ac406e73b843fb5dbe9cf432 (diff)
downloadninja-a9b1a1f2642841c4165ede69d131b1deb6238622.tar.gz
Merge branch 'refs/heads/ninja-internal' into SnapManagerFixes
Conflicts: js/helper-classes/RDGE/Materials/FlatMaterial.js Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/RDGE/Materials/LinearGradientMaterial.js')
-rw-r--r--js/helper-classes/RDGE/Materials/LinearGradientMaterial.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js b/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
index 357ce275..ce965296 100644
--- a/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
+++ b/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js
@@ -98,6 +98,8 @@ function LinearGradientMaterial()
98 this._shader.default.u_cos_sin_angle.set([Math.cos(a), Math.sin(a)]); 98 this._shader.default.u_cos_sin_angle.set([Math.cos(a), Math.sin(a)]);
99 } 99 }
100 100
101 this.isAnimated = function() { return false; }
102
101 /////////////////////////////////////////////////////////////////////// 103 ///////////////////////////////////////////////////////////////////////
102 // Material Property Accessors 104 // Material Property Accessors
103 /////////////////////////////////////////////////////////////////////// 105 ///////////////////////////////////////////////////////////////////////
@@ -146,6 +148,8 @@ function LinearGradientMaterial()
146 148
147 // send the current values to the shader 149 // send the current values to the shader
148 this.updateShaderValues(); 150 this.updateShaderValues();
151
152 console.log( "**** LinearGradientMaterial initialized" );
149 } 153 }
150 154
151 this.updateShaderValues= function() 155 this.updateShaderValues= function()