Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/kernel/types.h')
-rw-r--r--intern/cycles/kernel/types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/kernel/types.h b/intern/cycles/kernel/types.h
index c7162b19ab6..01628cd97fe 100644
--- a/intern/cycles/kernel/types.h
+++ b/intern/cycles/kernel/types.h
@@ -1275,7 +1275,7 @@ static_assert_align(KernelCurveSegment, 8);
typedef struct KernelSpotLight {
float radius;
float invarea;
- float spot_angle;
+ float cos_half_spot_angle;
float spot_smooth;
float dir[3];
float pad;
@@ -1284,9 +1284,9 @@ typedef struct KernelSpotLight {
/* PointLight is SpotLight with only radius and invarea being used. */
typedef struct KernelAreaLight {
- float axisu[3];
+ float extentu[3];
float invarea;
- float axisv[3];
+ float extentv[3];
float tan_spread;
float dir[3];
float normalize_spread;