diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-20 00:53:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-20 00:53:00 +0300 |
commit | f0b5a9da017a00c094cb7ab8bd0aa289c921a117 (patch) | |
tree | 8e8906352a5ec6da55073a75de067448158c08c1 /source/blender/blenkernel | |
parent | 8617594515e685303da51282ae50ccf0ebd030ef (diff) |
Cleanup: style, unused
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/studiolight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c index 736a06a3148..ce7372dc0b9 100644 --- a/source/blender/blenkernel/intern/studiolight.c +++ b/source/blender/blenkernel/intern/studiolight.c @@ -200,7 +200,7 @@ static void equirect_to_direction(float r[3], float u, float v) r[2] = cosf(theta); } -static void direction_to_cube_face_uv(float r_uv[2], int *r_face, const float dir[3]) +static void UNUSED_FUNCTION(direction_to_cube_face_uv)(float r_uv[2], int *r_face, const float dir[3]) { if (fabsf(dir[0]) > fabsf(dir[1]) && fabsf(dir[0]) > fabsf(dir[2])) { bool is_pos = (dir[0] > 0.0f); |