Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/bvh/bvh_shadow_all.h
| Show First 20 Lines • Show All 225 Lines • ▼ Show 20 Lines | #if BVH_FEATURE(BVH_HAIR) | ||||
| hit = cardinal_curve_intersect(kg, | hit = cardinal_curve_intersect(kg, | ||||
| isect_array, | isect_array, | ||||
| P, | P, | ||||
| dir, | dir, | ||||
| visibility, | visibility, | ||||
| object, | object, | ||||
| prim_addr, | prim_addr, | ||||
| ray->time, | ray->time, | ||||
| curve_type, | curve_type); | ||||
| NULL, | |||||
| 0, 0); | |||||
| } | } | ||||
| else { | else { | ||||
| hit = curve_intersect(kg, | hit = curve_intersect(kg, | ||||
| isect_array, | isect_array, | ||||
| P, | P, | ||||
| dir, | dir, | ||||
| visibility, | visibility, | ||||
| object, | object, | ||||
| prim_addr, | prim_addr, | ||||
| ray->time, | ray->time, | ||||
| curve_type, | curve_type); | ||||
| NULL, | |||||
| 0, 0); | |||||
| } | } | ||||
| break; | break; | ||||
| } | } | ||||
| #endif | #endif | ||||
| default: { | default: { | ||||
| hit = false; | hit = false; | ||||
| break; | break; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines | |||||