cornerSdf2d

cornerSdf2d

sdf2d
cornerSdf2d
RayTK
v0.36

2D SDF for an infinite corner, like an infinite square positioned by one corner.

Parameters

  • Corner: Which corner of the infinite square to place at the origin.
    • Bottom Left:
    • Top Left:
    • Bottom Right:
    • Top Right:
  • Translate: Moves the position of the corner.