Skip to content

Commit

Permalink
bug fix: SceneJS.sphere does NOT use innerRadius!
Browse files Browse the repository at this point in the history
at least not yet ...
  • Loading branch information
stepheneb committed Feb 7, 2011
1 parent 2bc19b4 commit 424db5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenejs/geometry/objects/sphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ SceneJS.Sphere.prototype._init = function(params) {
/* Resource ID ensures that we reuse any sphere that has already been created with
* these parameters instead of wasting memory
*/
this._resource = "sphere_" + radius + "_" + rings + "_" + slices + "_" + innerRadius + "_" + semiMajorAxis + "_" + sweep;
this._resource = "sphere_" + radius + "_" + rings + "_" + slices + "_" + semiMajorAxis + "_" + sweep;

/* Callback that does the creation in case we can't find matching sphere to reuse
*/
Expand Down

0 comments on commit 424db5b

Please sign in to comment.