optimized distanceToCamera() added distanceToPoint() and distanceSquaredToPoint()