Small comment change

This commit is contained in:
Grant Sanderson 2023-01-12 10:39:50 -08:00
parent 04fd50491e
commit f3e91db581

View file

@ -67,9 +67,9 @@ mat3 get_xy_to_uv(vec2 controls[3], float temp_is_linear, out float is_linear){
*/
vec2[2] dest;
is_linear = temp_is_linear;
// Portions of the parabola y = x^2 where x exceeds this value are just
// treated as straight lines.
float thresh = 2.0;
// Portions of the parabola y = x^2 where abs(x) exceeds
// this value are treated as straight lines.
float thresh = 2.0;
if (!bool(is_linear)){
vec2 xs = xs_on_clean_parabola(controls);
float x0 = xs.x;