diff options
-rw-r--r-- | intern/cycles/kernel/shaders/node_math.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/intern/cycles/kernel/shaders/node_math.h b/intern/cycles/kernel/shaders/node_math.h index 9baf1014418..7d8478672af 100644 --- a/intern/cycles/kernel/shaders/node_math.h +++ b/intern/cycles/kernel/shaders/node_math.h @@ -63,11 +63,6 @@ float safe_log(float a, float b) return (a > 0.0 && b > 0.0) ? log(a) / log(b) : 0.0; } -float safe_divide(float a, float b) -{ - return (b != 0.0) ? a / b : 0.0; -} - vector project(vector v, vector v_proj) { float lenSquared = dot(v_proj, v_proj); |