aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-07 13:52:54 -0800
committerNivesh Rajbhandari2012-02-07 13:52:54 -0800
commite8e21367e59bb521801fe2e843f42ad5bca5ea9f (patch)
tree6fb090ad307415e02a568603b8ecac64cc67ac20 /js/helper-classes/RDGE
parent3a8875c288049b466bfeb8b7f0510fd8cbfb970d (diff)
downloadninja-e8e21367e59bb521801fe2e843f42ad5bca5ea9f.tar.gz
Fixing some typos and undeclared variables in GLRectangle and ShapesController.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/helper-classes/RDGE')
-rw-r--r--js/helper-classes/RDGE/GLRectangle.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/helper-classes/RDGE/GLRectangle.js b/js/helper-classes/RDGE/GLRectangle.js
index 151b15a3..8535a683 100644
--- a/js/helper-classes/RDGE/GLRectangle.js
+++ b/js/helper-classes/RDGE/GLRectangle.js
@@ -271,8 +271,8 @@ function GLRectangle()
271 271
272 // stroke 272 // stroke
273 var strokeMaterial = this.makeStrokeMaterial(); 273 var strokeMaterial = this.makeStrokeMaterial();
274 prim = this.createStroke([x,y], 2*xFill, 2*yFill, strokeSize, tlRadius, blRadius, brRadius, trRadius, strokeMaterial) 274 var strokePrim = this.createStroke([x,y], 2*xFill, 2*yFill, strokeSize, tlRadius, blRadius, brRadius, trRadius, strokeMaterial);
275 this._primArray.push( prim ); 275 this._primArray.push( strokePrim );
276 this._materialNodeArray.push( strokeMaterial.getMaterialNode() ); 276 this._materialNodeArray.push( strokeMaterial.getMaterialNode() );
277 277
278 // fill 278 // fill
@@ -283,8 +283,8 @@ function GLRectangle()
283 xFill -= strokeSize; 283 xFill -= strokeSize;
284 yFill -= strokeSize; 284 yFill -= strokeSize;
285 var fillMaterial = this.makeFillMaterial(); 285 var fillMaterial = this.makeFillMaterial();
286 prim = this.createFill([x,y], 2*xFill, 2*yFill, tlRadius, blRadius, brRadius, trRadius, fillMaterial) 286 var fillPrim = this.createFill([x,y], 2*xFill, 2*yFill, tlRadius, blRadius, brRadius, trRadius, fillMaterial);
287 this._primArray.push( prim ); 287 this._primArray.push( fillPrim );
288 this._materialNodeArray.push( fillMaterial.getMaterialNode() ); 288 this._materialNodeArray.push( fillMaterial.getMaterialNode() );
289 289
290 world.updateObject(this); 290 world.updateObject(this);