Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_types.h
| Show First 20 Lines • Show All 994 Lines • ▼ Show 20 Lines | |||||
| #ifdef __KERNEL_DEBUG__ | #ifdef __KERNEL_DEBUG__ | ||||
| typedef struct DebugData { | typedef struct DebugData { | ||||
| // Total number of BVH node travesal steps and primitives intersections | // Total number of BVH node travesal steps and primitives intersections | ||||
| // for the camera rays. | // for the camera rays. | ||||
| int num_bvh_traversal_steps; | int num_bvh_traversal_steps; | ||||
| } DebugData; | } DebugData; | ||||
| #endif | #endif | ||||
| /* Precalculated data for the ray->tri intersection. */ | |||||
| typedef struct IsectPrecalc { | |||||
| /* maximal dimension kz, and orthogonal dimensions. */ | |||||
| int kx, ky, kz; | |||||
| /* Shear constants. */ | |||||
| float Sx, Sy, Sz; | |||||
| } IsectPrecalc; | |||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __KERNEL_TYPES_H__ */ | #endif /* __KERNEL_TYPES_H__ */ | ||||