On Thu, Dec 7, 2017 at 4:04 PM, Henri Verbeet hverbeet@gmail.com wrote:
- static const float quad_slopes[] =
- {
0.0f, 0.5f, 1.0f
- };
...
m = quad_slopes[i] / texture_desc.Height;
m = sqrtf(m * m);
sqrtf(m * m) = fabsf(m) = m
Right?
Right :D