fix bugs that mac display error

intersectSphere
intersectBox
intersectPlane
参数out float dist->inout float dist