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