aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/GLRectangle.js
diff options
context:
space:
mode:
authorhwc4872012-02-29 15:23:28 -0800
committerhwc4872012-02-29 15:23:28 -0800
commit07c48708a99b94a220c043ad5951a331bbd4fc2d (patch)
tree6fdf01f3d0fca0cf5835246bed21d6ae1816ce88 /js/helper-classes/RDGE/GLRectangle.js
parent347fc28227d822e9fea3fa823fae79cf14ea041c (diff)
downloadninja-07c48708a99b94a220c043ad5951a331bbd4fc2d.tar.gz
WebGL file I/O
Diffstat (limited to 'js/helper-classes/RDGE/GLRectangle.js')
-rwxr-xr-xjs/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 a801d3c4..f44350df 100755
--- a/js/helper-classes/RDGE/GLRectangle.js
+++ b/js/helper-classes/RDGE/GLRectangle.js
@@ -274,10 +274,10 @@ function GLRectangle()
274 brRadius = -z*(r-l)/(2.0*zn)*brRadiusNDC; 274 brRadius = -z*(r-l)/(2.0*zn)*brRadiusNDC;
275 275
276 // stroke 276 // stroke
277 var strokeMaterial = this.makeStrokeMaterial(); 277// var strokeMaterial = this.makeStrokeMaterial();
278 var strokePrim = this.createStroke([x,y], 2*xFill, 2*yFill, strokeSize, tlRadius, blRadius, brRadius, trRadius, strokeMaterial); 278// var strokePrim = this.createStroke([x,y], 2*xFill, 2*yFill, strokeSize, tlRadius, blRadius, brRadius, trRadius, strokeMaterial);
279 this._primArray.push( strokePrim ); 279// this._primArray.push( strokePrim );
280 this._materialNodeArray.push( strokeMaterial.getMaterialNode() ); 280// this._materialNodeArray.push( strokeMaterial.getMaterialNode() );
281 281
282 // fill 282 // fill
283 tlRadius -= strokeSize; if (tlRadius < 0) tlRadius = 0.0; 283 tlRadius -= strokeSize; if (tlRadius < 0) tlRadius = 0.0;