mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
goom2k1: use fractional part of float division
This commit is contained in:
parent
4af5a2b760
commit
ea1d67abe3
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ goom_lines (GoomData * goomdata, gint16 data[2][512], unsigned int ID,
|
|||
{
|
||||
float z;
|
||||
unsigned int monX = resolx / 2;
|
||||
float monY = resoly / 4;
|
||||
float monY2 = resoly / 2;
|
||||
float monY = (float) resoly / 4;
|
||||
float monY2 = (float) resoly / 2;
|
||||
|
||||
for (z = 0; z < 6.2832f; z += 1.0f / monY) {
|
||||
/* float offset1 = 128+data[1][(unsigned int)(z*81.33f)])/200000; */
|
||||
|
|
Loading…
Reference in a new issue