forked from: away3d classifySphere() fix

