fixed mac build by removing inline from RayFromToCaster::rayFromToTriangle