Fix changes after review

This commit is contained in:
Anstro Pleuton 2025-01-23 01:30:21 -08:00
commit ebfb66bf19
3 changed files with 9 additions and 24 deletions

View file

@ -30,12 +30,7 @@ uniform vec4 borderColor;
// Thanks to Iñigo Quilez (https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm)
// And thanks to inobelar (https://www.shadertoy.com/view/fsdyzB) for shader
// MIT License
float RoundedRectangleSDF(
vec2 fragCoord,
vec2 center,
vec2 halfSize,
vec4 radius
)
float RoundedRectangleSDF(vec2 fragCoord, vec2 center, vec2 halfSize, vec4 radius)
{
vec2 fragFromCenter = fragCoord - center;

View file

@ -28,12 +28,7 @@ uniform vec4 borderColor;
// Thanks to Iñigo Quilez (https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm)
// And thanks to inobelar (https://www.shadertoy.com/view/fsdyzB) for shader
// MIT License
float RoundedRectangleSDF(
vec2 fragCoord,
vec2 center,
vec2 halfSize,
vec4 radius
)
float RoundedRectangleSDF(vec2 fragCoord, vec2 center, vec2 halfSize, vec4 radius)
{
vec2 fragFromCenter = fragCoord - center;

View file

@ -31,12 +31,7 @@ uniform vec4 borderColor;
// Thanks to Iñigo Quilez (https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm)
// And thanks to inobelar (https://www.shadertoy.com/view/fsdyzB) for shader
// MIT License
float RoundedRectangleSDF(
vec2 fragCoord,
vec2 center,
vec2 halfSize,
vec4 radius
)
float RoundedRectangleSDF(vec2 fragCoord, vec2 center, vec2 halfSize, vec4 radius)
{
vec2 fragFromCenter = fragCoord - center;