diff options
Diffstat (limited to 'res/effectlib/customMaterial.glsllib')
-rw-r--r-- | res/effectlib/customMaterial.glsllib | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/effectlib/customMaterial.glsllib b/res/effectlib/customMaterial.glsllib index e99fa6e..0a4d88b 100644 --- a/res/effectlib/customMaterial.glsllib +++ b/res/effectlib/customMaterial.glsllib @@ -36,11 +36,11 @@ uniform sampler2D samplerName; // some useful defines #ifndef PI -#define PI 3.14159265358979f -#define PI_HALF ( 0.5f * PI ) -#define PI_TWO ( 2.0f * PI ) -#define ONE_OVER_PI ( 1.0f / PI ) -#define TWO_OVER_PI ( 2.0f / PI ) +#define PI 3.14159265358979 +#define PI_HALF ( 0.5 * PI ) +#define PI_TWO ( 2.0 * PI ) +#define ONE_OVER_PI ( 1.0 / PI ) +#define TWO_OVER_PI ( 2.0 / PI ) #define PI_SQUARE ( PI * PI ) #endif |