mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles / OpenCL:
* Fix for recent commits, ceilf is not available in OpenCL.
This commit is contained in:
parent
c53b20b683
commit
e2c02c47ad
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@
|
|||
#define tanf(x) tan(((float)x))
|
||||
#define logf(x) log(((float)x))
|
||||
#define floorf(x) floor(((float)x))
|
||||
#define ceilf(x) ceil(((float)x))
|
||||
#define expf(x) exp(((float)x))
|
||||
#define hypotf(x, y) hypot(((float)x), ((float)y))
|
||||
#define atan2f(x, y) atan2(((float)x), ((float)y))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue