diff options
author | hwc487 | 2012-01-27 15:52:36 -0800 |
---|---|---|
committer | hwc487 | 2012-01-27 15:52:36 -0800 |
commit | 86a801c057fc3b0580d6130be5740c2ee503444f (patch) | |
tree | 8b014e981273464afde4e0603cdf70c6e90eee48 /js/helper-classes/RDGE/Materials/LinearGradientMaterial.js | |
parent | 302e3eb01037ff550bc93547cb8d5d0a0780b312 (diff) | |
download | ninja-86a801c057fc3b0580d6130be5740c2ee503444f.tar.gz |
updated from old repo
Diffstat (limited to 'js/helper-classes/RDGE/Materials/LinearGradientMaterial.js')
-rw-r--r-- | js/helper-classes/RDGE/Materials/LinearGradientMaterial.js | 4 |
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..f026cd15 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 true; } | ||
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() |