We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d87468 commit 540d3c4Copy full SHA for 540d3c4
types/floats/types.go
@@ -0,0 +1,11 @@
1
+package floats
2
+
3
+import geom "github.com/gravitton/geometry"
4
5
+type Circle = geom.Circle[float64]
6
+type Line = geom.Line[float64]
7
+type Point = geom.Point[float64]
8
+type Polygon = geom.Polygon[float64]
9
+type Rectangle = geom.Rectangle[float64]
10
+type Size = geom.Size[float64]
11
+type Vector = geom.Vector[float64]
types/ints/types.go
+package ints
+type Circle = geom.Circle[int]
+type Line = geom.Line[int]
+type Point = geom.Point[int]
+type Polygon = geom.Polygon[int]
+type Rectangle = geom.Rectangle[int]
+type Size = geom.Size[int]
+type Vector = geom.Vector[int]
0 commit comments