What's the most compact WL translation of this GLSL expression:
length(max(vec2(x,y),0))
?
My best attempt (using Wolfram Development Platform, not Mathematica) is
EuclideanDistance [{0,0},{Max[x,0],Max[y,0]}]
which works
but repeats Max.
This
EuclideanDistance [{0,0},Max[{x,y},0]]
fails thus:


