MCPcopy
hub / github.com/fogleman/primitive / radians

Function radians

primitive/util.go:122–124  ·  view source on GitHub ↗
(degrees float64)

Source from the content-addressed store, hash-verified

120}
121
122func radians(degrees float64) float64 {
123 return degrees * math.Pi / 180
124}
125
126func degrees(radians float64) float64 {
127 return radians * 180 / math.Pi

Callers 4

DrawMethod · 0.85
RasterizeMethod · 0.85
DrawMethod · 0.85
RasterizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…