mrdoob/three.js — pull request #2814 by bhouston (2012-12-17 21:06:19+00:00)
Title: Sphere.bounds()->Sphere.boundingBox(), +Box3.boundingSphere(), +unit tests

I renamed Sphere.bounds() to Sphere.boundingBox() as I now think that the term "bounds" by itself is ambigious / unclear.

I also created a Box3.boundingSphere().

I needed both of these in some code I am writing and they are very commonly used so I figured I'd throw them in the core math library.

I also wrote unit tests for them to ensure that they work properly.