OpenDiablo2/d2common/d2geom/point.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
}