File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ package floats
22
33import geom "github.com/gravitton/geometry"
44
5+ type Point = geom.Point [float64 ]
6+ type Vector = geom.Vector [float64 ]
7+ type Size = geom.Size [float64 ]
58type Circle = geom.Circle [float64 ]
69type Line = geom.Line [float64 ]
7- type Point = geom.Point [float64 ]
8- type Polygon = geom.Polygon [float64 ]
910type Rectangle = geom.Rectangle [float64 ]
10- type Size = geom.Size [float64 ]
11- type Vector = geom.Vector [float64 ]
11+ type Polygon = geom.Polygon [float64 ]
12+ type RegularPolygon = geom.RegularPolygon [float64 ]
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ package ints
22
33import geom "github.com/gravitton/geometry"
44
5+ type Point = geom.Point [int ]
6+ type Vector = geom.Vector [int ]
7+ type Size = geom.Size [int ]
58type Circle = geom.Circle [int ]
69type Line = geom.Line [int ]
7- type Point = geom.Point [int ]
8- type Polygon = geom.Polygon [int ]
910type Rectangle = geom.Rectangle [int ]
10- type Size = geom.Size [int ]
11- type Vector = geom.Vector [int ]
11+ type Polygon = geom.Polygon [int ]
12+ type RegularPolygon = geom.RegularPolygon [int ]
You can’t perform that action at this time.
0 commit comments