diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-25 15:30:46 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-09-25 15:30:46 +0400 |
commit | 0d3f0ff08e2066de33165fa3153fd081fc394aaa (patch) | |
tree | 7e2a35a4d78b811c464a0df6e48a75963595f1b1 /source/blender/blenlib/BLI_math_base.h | |
parent | d305a64b69a6181dfde1f7cc14c6b9d579140da0 (diff) |
Fix #23901: displace node not working with negative values.
Diffstat (limited to 'source/blender/blenlib/BLI_math_base.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_base.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_base.h b/source/blender/blenlib/BLI_math_base.h index bb20cb7c8e1..48ad46282c2 100644 --- a/source/blender/blenlib/BLI_math_base.h +++ b/source/blender/blenlib/BLI_math_base.h @@ -155,6 +155,8 @@ MINLINE float interpf(float a, float b, float t); MINLINE float minf(float a, float b); MINLINE float maxf(float a, float b); +MINLINE float signf(float f); + MINLINE float power_of_2(float f); MINLINE float shell_angle_to_dist(float angle); |