Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_math.h
| Show All 29 Lines | |||||
| #ifndef __KERNEL_OPENCL__ | #ifndef __KERNEL_OPENCL__ | ||||
| #include <float.h> | #include <float.h> | ||||
| #include <math.h> | #include <math.h> | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #endif | #endif | ||||
| #include "util_types.h" | #include "util/util_types.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* Float Pi variations */ | /* Float Pi variations */ | ||||
| /* Division */ | /* Division */ | ||||
| #ifndef M_PI_F | #ifndef M_PI_F | ||||
| #define M_PI_F (3.1415926535897932f) /* pi */ | #define M_PI_F (3.1415926535897932f) /* pi */ | ||||
| ▲ Show 20 Lines • Show All 1,477 Lines • Show Last 20 Lines | |||||