Small structural changes to Object3D to allow fix culling bug fix in LOD.

This change simply splits the code within the loops of calculateChildrenVisibility and collectChildrenDraws into functions.
The purpose of this is to allow a bug fix for the LOD class (to be submitted shortly)