Code cleanup: float<>double promotion

This commit is contained in:
Campbell Barton 2013-12-14 03:21:23 +11:00
parent 105a97a7ed
commit 242217f8a3
1 changed files with 1 additions and 1 deletions

View File

@ -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 *************************/