j
k
j a
j l
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?
static const float quad_slopes[] = { 0.0f, 0.5f, 1.0f };
0.0f, 0.5f, 1.0f
...
m = quad_slopes[i] / texture_desc.Height; m = sqrtf(m * m);
m = quad_slopes[i] / texture_desc.Height;
m = sqrtf(m * m);
sqrtf(m * m) = fabsf(m) = m
Right?
Right :D
Back to the thread
Back to the list