package tins2021 import "opslag.de/schobers/geom" func Polar(a, r float64) geom.PointF { return geom.PtF(r*geom.Cos(a), r*geom.Sin(a)) } func PolarUnity(a float64) geom.PointF { return geom.PtF(geom.Cos(a), geom.Sin(a)) } func Percentage(i, n int) float64 { return float64(i) / float64(n) }