change 0 to 0.0 in quadratic_bezier_fill/frag.glsl

This commit is contained in:
鹤翔万里 2021-02-01 22:56:03 +08:00 committed by GitHub
parent 5cc30df2ac
commit 82eb0ae5be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ float sdf(){
float sgn = orientation * sign(v2);
float Fp = (p.x * p.x - p.y);
if(sgn * Fp < 0){
return 0;
return 0.0;
}else{
return min_dist_to_curve(uv_coords, uv_b2, bezier_degree);
}