// Token: 0x06000E5E RID: 3678 RVA: 0x00063860 File Offset: 0x00061C60 public static bool shouldRaycastIgnoreLandscape(Ray ray, float maxDistance) { RaycastHit raycastHit; LandscapeHoleVolume volume; RaycastHit raycastHit2; RaycastHit raycastHit3; return((LandscapeHoleUtility.doesRayIntersectHoleVolume(ray, out raycastHit, out volume, maxDistance) && Physics.Raycast(ray, out raycastHit2, maxDistance, RayMasks.GROUND) && LandscapeHoleUtility.isPointInsideHoleVolume(volume, raycastHit2.point)) || (LandscapeHoleUtility.isPointInsideHoleVolume(ray.origin, out volume) && Physics.Raycast(ray, out raycastHit3, maxDistance, RayMasks.GROUND) && LandscapeHoleUtility.isPointInsideHoleVolume(volume, raycastHit3.point))); }
// Token: 0x06000E5C RID: 3676 RVA: 0x000637FC File Offset: 0x00061BFC public static bool doesRayIntersectHoleVolume(Ray ray, out RaycastHit hit, out LandscapeHoleVolume volume, float maxDistance) { for (int i = 0; i < LandscapeHoleSystem.volumes.Count; i++) { volume = LandscapeHoleSystem.volumes[i]; if (LandscapeHoleUtility.doesRayIntersectHoleVolume(volume, ray, out hit, maxDistance)) { return(true); } } hit = default(RaycastHit); volume = null; return(false); }