You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/FastNoise/Generators/Generator.inl
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,8 @@ public:
79
79
FastNoise::OutputMinMax GenUniformGrid2D( float* noiseOut, int xStart, int yStart, int xSize, int ySize, int seed ) constfinal
80
80
{
81
81
ScopeExitx86ZeroUpper zeroUpper;
82
-
float32v min( INFINITY );
83
-
float32v max( -INFINITY );
82
+
float32v min( kInfinity );
83
+
float32v max( -kInfinity );
84
84
85
85
int32v xIdx( xStart );
86
86
int32v yIdx( yStart );
@@ -125,8 +125,8 @@ public:
125
125
FastNoise::OutputMinMax GenUniformGrid3D( float* noiseOut, int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, int seed ) constfinal
126
126
{
127
127
ScopeExitx86ZeroUpper zeroUpper;
128
-
float32v min( INFINITY );
129
-
float32v max( -INFINITY );
128
+
float32v min( kInfinity );
129
+
float32v max( -kInfinity );
130
130
131
131
int32v xIdx( xStart );
132
132
int32v yIdx( yStart );
@@ -178,8 +178,8 @@ public:
178
178
FastNoise::OutputMinMax GenUniformGrid4D( float* noiseOut, int xStart, int yStart, int zStart, int wStart, int xSize, int ySize, int zSize, int wSize, int seed ) constfinal
179
179
{
180
180
ScopeExitx86ZeroUpper zeroUpper;
181
-
float32v min( INFINITY );
182
-
float32v max( -INFINITY );
181
+
float32v min( kInfinity );
182
+
float32v max( -kInfinity );
183
183
184
184
int32v xIdx( xStart );
185
185
int32v yIdx( yStart );
@@ -238,8 +238,8 @@ public:
238
238
FastNoise::OutputMinMax GenPositionArray2D( float* noiseOut, int count, constfloat* xPosArray, constfloat* yPosArray, float xOffset, float yOffset, int seed ) constfinal
239
239
{
240
240
ScopeExitx86ZeroUpper zeroUpper;
241
-
float32v min( INFINITY );
242
-
float32v max( -INFINITY );
241
+
float32v min( kInfinity );
242
+
float32v max( -kInfinity );
243
243
244
244
intptr_t index = 0;
245
245
while( index < count - (intptr_t)int32v::ElementCount )
0 commit comments