Commit 5de2fe82 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri

Fix test to change the second component values

The second component is homogeneous with discontinuities along
the two center lines
parent dfcbfe78
......@@ -56,12 +56,12 @@ int TestGPURayCastTwoComponentsDependentGradient(int argc, char *argv[])
if (y < dims[1] / 2)
{
*ptr++ = 0.0;
*ptr++ = 0.2;
*ptr++ = 0.0;
}
else
{
*ptr++ = 0.25;
*ptr++ = 0.2;
*ptr++ = 0.25;
}
}
else
......@@ -69,12 +69,12 @@ int TestGPURayCastTwoComponentsDependentGradient(int argc, char *argv[])
if (y < dims[1] / 2)
{
*ptr++ = 0.5;
*ptr++ = 0.2;
*ptr++ = 0.5;
}
else
{
*ptr++ = 1.0;
*ptr++ = 0.2;
*ptr++ = 1.0;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment