79129291

Date: 2024-10-26 19:16:11
Score: 1.5
Natty:
Report link

The code is written incorrectly, and relies on undefined behavior.

The correct code would read

float plot(vec2 st) {    
    return 1.0 - smoothstep(0.0, 0.02, abs(st.y - st.x));
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28002279