Blender V5.3
gpu_shader_math_constants.bsl.hh File Reference

Go to the source code of this file.

Macros

#define M_PI   3.14159265358979323846f
#define M_TAU   6.28318530717958647692f
#define M_PI_2   1.57079632679489661923f
#define M_PI_4   0.78539816339744830962f
#define M_SQRT2   1.41421356237309504880f
#define M_SQRT1_2   0.70710678118654752440f
#define M_SQRT3   1.73205080756887729352f
#define M_SQRT1_3   0.57735026918962576450f
#define M_1_PI   0.318309886183790671538f
#define M_E   2.7182818284590452354f
#define M_LOG2E   1.4426950408889634074f
#define M_LOG10E   0.43429448190325182765f
#define M_LN2   0.69314718055994530942f
#define M_LN10   2.30258509299404568402f

Macro Definition Documentation

◆ M_1_PI

#define M_1_PI   0.318309886183790671538f

Definition at line 15 of file gpu_shader_math_constants.bsl.hh.

◆ M_E

#define M_E   2.7182818284590452354f

Definition at line 16 of file gpu_shader_math_constants.bsl.hh.

◆ M_LN10

#define M_LN10   2.30258509299404568402f

Definition at line 20 of file gpu_shader_math_constants.bsl.hh.

◆ M_LN2

#define M_LN2   0.69314718055994530942f

Definition at line 19 of file gpu_shader_math_constants.bsl.hh.

◆ M_LOG10E

#define M_LOG10E   0.43429448190325182765f

Definition at line 18 of file gpu_shader_math_constants.bsl.hh.

◆ M_LOG2E

#define M_LOG2E   1.4426950408889634074f

Definition at line 17 of file gpu_shader_math_constants.bsl.hh.

◆ M_PI

#define M_PI   3.14159265358979323846f

Definition at line 7 of file gpu_shader_math_constants.bsl.hh.

◆ M_PI_2

#define M_PI_2   1.57079632679489661923f

Definition at line 9 of file gpu_shader_math_constants.bsl.hh.

◆ M_PI_4

#define M_PI_4   0.78539816339744830962f

Definition at line 10 of file gpu_shader_math_constants.bsl.hh.

◆ M_SQRT1_2

#define M_SQRT1_2   0.70710678118654752440f

Definition at line 12 of file gpu_shader_math_constants.bsl.hh.

◆ M_SQRT1_3

#define M_SQRT1_3   0.57735026918962576450f

Definition at line 14 of file gpu_shader_math_constants.bsl.hh.

◆ M_SQRT2

#define M_SQRT2   1.41421356237309504880f

Definition at line 11 of file gpu_shader_math_constants.bsl.hh.

◆ M_SQRT3

#define M_SQRT3   1.73205080756887729352f

Definition at line 13 of file gpu_shader_math_constants.bsl.hh.

◆ M_TAU

#define M_TAU   6.28318530717958647692f

Definition at line 8 of file gpu_shader_math_constants.bsl.hh.