14 lines
178 B
Go
14 lines
178 B
Go
|
package d2geom
|
||
|
|
||
|
// Point represents a point
|
||
|
type Point struct {
|
||
|
X int
|
||
|
Y int
|
||
|
}
|
||
|
|
||
|
// Pointf represents a point with float coordinates
|
||
|
type Pointf struct {
|
||
|
X float64
|
||
|
Y float64
|
||
|
}
|