diff options
Diffstat (limited to 'js/lib/rdge/materials/radial-gradient-material.js')
-rwxr-xr-x | js/lib/rdge/materials/radial-gradient-material.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/lib/rdge/materials/radial-gradient-material.js b/js/lib/rdge/materials/radial-gradient-material.js index f7e28083..ab7cf484 100755 --- a/js/lib/rdge/materials/radial-gradient-material.js +++ b/js/lib/rdge/materials/radial-gradient-material.js | |||
@@ -54,7 +54,7 @@ var RadialGradientMaterial = function RadialGradientMaterial() { | |||
54 | /////////////////////////////////////////////////////////////////////// | 54 | /////////////////////////////////////////////////////////////////////// |
55 | // Property Accessors | 55 | // Property Accessors |
56 | /////////////////////////////////////////////////////////////////////// | 56 | /////////////////////////////////////////////////////////////////////// |
57 | 57 | ||
58 | 58 | ||
59 | this.isAnimated = function () { return false; }; | 59 | this.isAnimated = function () { return false; }; |
60 | this.getShaderDef = function() { return radialGradientMaterialDef; }; | 60 | this.getShaderDef = function() { return radialGradientMaterialDef; }; |
@@ -126,9 +126,9 @@ var RadialGradientMaterial = function RadialGradientMaterial() { | |||
126 | 0.0, yScale, 0.0, | 126 | 0.0, yScale, 0.0, |
127 | xCtr*(1-xScale), yCtr*(1 - yScale), 1.0 | 127 | xCtr*(1-xScale), yCtr*(1 - yScale), 1.0 |
128 | ]; | 128 | ]; |
129 | 129 | ||
130 | if (this._shader && this._shader['default']) | 130 | if (this._shader && this._shader['default']) |
131 | this._shader['default'].u_texTransform.set( this._textureTransform ); | 131 | this._shader['default'].u_texTransform.set( this._textureTransform ); |
132 | 132 | ||
133 | } | 133 | } |
134 | }; | 134 | }; |