Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/types.h
| Show First 20 Lines • Show All 1,301 Lines • ▼ Show 20 Lines | |||||
| typedef struct KernelAreaLight { | typedef struct KernelAreaLight { | ||||
| packed_float3 axis_u; | packed_float3 axis_u; | ||||
| float len_u; | float len_u; | ||||
| packed_float3 axis_v; | packed_float3 axis_v; | ||||
| float len_v; | float len_v; | ||||
| packed_float3 dir; | packed_float3 dir; | ||||
| float invarea; | float invarea; | ||||
| float tan_spread; | float cot_half_spread; | ||||
| float normalize_spread; | float normalize_spread; | ||||
| float pad[2]; | float pad[2]; | ||||
| } KernelAreaLight; | } KernelAreaLight; | ||||
| typedef struct KernelDistantLight { | typedef struct KernelDistantLight { | ||||
| float radius; | float radius; | ||||
| float cosangle; | float cosangle; | ||||
| float invarea; | float invarea; | ||||
| ▲ Show 20 Lines • Show All 339 Lines • Show Last 20 Lines | |||||