Skip to main content Link Menu Expand (external link) Document Search Copy Copied
cornerSdf2d

cornerSdf2d

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.