mrdoob/three.js — pull request #2865 by bhouston (2012-12-31 12:46:33+00:00)
Title: Frustum improvements + unit tests

This PR contains the following:

# Significant polishing of Frustum.js so that it has the characteristics of the other members of the math library (proper constructor, set, copy, clone.)

# Additional Frustum.js functionality including containsSphere, containsPoint, containsAnyPoint and transform (could be renamed applyMatrix4.)

# Frustum unit tests. (We now have over 1100 unit tests!)

Also I updated some other unit tests to use applyMatrix4 in a few cases so that they work again and removed some unused temporary variables from Raycaster.