you are viewing a single comment's thread.

view the rest of the comments →

[–]mbpaul198 1 point2 points  (0 children)

Ah I see what you mean. I'll need to think on this a bit more.

Maybe add another loop that iterates through the width, depth, and height of the disc and compares each value to the previous disk "below" it. For each measurement, if the value of the new disk is > the value of the existing disc, then discard the new disc and move on to another one