mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Small comment change
This commit is contained in:
parent
04fd50491e
commit
f3e91db581
1 changed files with 3 additions and 3 deletions
|
@ -67,9 +67,9 @@ mat3 get_xy_to_uv(vec2 controls[3], float temp_is_linear, out float is_linear){
|
||||||
*/
|
*/
|
||||||
vec2[2] dest;
|
vec2[2] dest;
|
||||||
is_linear = temp_is_linear;
|
is_linear = temp_is_linear;
|
||||||
// Portions of the parabola y = x^2 where x exceeds this value are just
|
// Portions of the parabola y = x^2 where abs(x) exceeds
|
||||||
// treated as straight lines.
|
// this value are treated as straight lines.
|
||||||
float thresh = 2.0;
|
float thresh = 2.0;
|
||||||
if (!bool(is_linear)){
|
if (!bool(is_linear)){
|
||||||
vec2 xs = xs_on_clean_parabola(controls);
|
vec2 xs = xs_on_clean_parabola(controls);
|
||||||
float x0 = xs.x;
|
float x0 = xs.x;
|
||||||
|
|
Loading…
Add table
Reference in a new issue