diff options
author | Thomas Dinges <blender@dingto.org> | 2013-05-12 18:13:29 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-05-12 18:13:29 +0400 |
commit | 7636aeffe1674ea2281869a0d81cbe20ee42e8b9 (patch) | |
tree | 61ab2f2c9bd74ff35d074e4f27a0885b6ac98a32 /intern/cycles/render/light.cpp | |
parent | 469979f9cb08640fbc00a43b59eee459460e74e1 (diff) |
Cycles / Math:
* Add M_2PI_F and M_4PI_F constants and use them inside the codebase.
Diffstat (limited to 'intern/cycles/render/light.cpp')
-rw-r--r-- | intern/cycles/render/light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/render/light.cpp b/intern/cycles/render/light.cpp index 4c3c0c7f6a4..1d2acf79b6c 100644 --- a/intern/cycles/render/light.cpp +++ b/intern/cycles/render/light.cpp @@ -111,7 +111,7 @@ Light::Light() map_resolution = 512; - spot_angle = M_PI_F/4.0f; + spot_angle = M_PI_4_F; spot_smooth = 0.0f; cast_shadow = true; |