Documentation
¶
Overview ¶
Package sdf defines signed distance functions
Index ¶
- func Box(x, y, bx, by, bw, bh float64) float64
- func Circle(x, y, cx, cy, radius float64) float64
- func Hline(x, y, pos float64) float64
- func Max(shapes ...float64) float64
- func Min(shapes ...float64) float64
- func Repeat(val, dist float64) float64
- func RoundBox(x, y, bx, by, bw, bh, r float64) float64
- func Segment(x, y, ax, ay, bx, by float64) float64
- func Vline(x, y, pos float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.