Code cleanup: float<>double promotion
This commit is contained in:
@@ -132,7 +132,7 @@ MINLINE float dither_random_value(float s, float t)
|
|||||||
copy_v2_fl2(st, s, t);
|
copy_v2_fl2(st, s, t);
|
||||||
|
|
||||||
value = sinf(dot_v2v2(st, vec)) * 43758.5453f;
|
value = sinf(dot_v2v2(st, vec)) * 43758.5453f;
|
||||||
return value - floor(value);
|
return value - floorf(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/************************* Generic Buffer Conversion *************************/
|
/************************* Generic Buffer Conversion *************************/
|
||||||
|
Reference in New Issue
Block a user