yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeFix type checking on generic extensions. (#5316)c97166aed

master
440 B7 linesraw
1implementing fcpw;
2
3internal static const float M_PI = 3.14159265358979323846;   // pi
4internal static const float M_PI_2 = 1.57079632679489661923; // pi/2
5internal static const float FLT_MAX = 3.402823466e+38F;      // max float value
6internal static const float FLT_EPSILON = 1.192092896e-07F;  // smallest float value such that 1.0+FLT_EPSILON != 1.0
7internal static const uint UINT_MAX = 4294967295;            // max unsigned int value