NewDisk creates a disk (filled circle) geometry with the specified radius and number of radial segments/triangles (minimum 3).
(radius float64, segments int)
| 14 | // NewDisk creates a disk (filled circle) geometry with the specified |
| 15 | // radius and number of radial segments/triangles (minimum 3). |
| 16 | func NewDisk(radius float64, segments int) *Geometry { |
| 17 | return NewDiskSector(radius, segments, 0, 2*math.Pi) |
| 18 | } |
| 19 | |
| 20 | // NewDiskSector creates a disk (filled circle) or disk sector geometry with the specified radius, |
| 21 | // number of radial segments/triangles (minimum 3), sector start angle in radians, and sector size angle in radians. |
nothing calls this directly
no test coverage detected