fixed go vet errors
This commit is contained in:
parent
c6f8d309f3
commit
17e511dea2
@ -6,8 +6,8 @@ import (
|
|||||||
|
|
||||||
// A and B represent two opposite corners of axis-aligned boundin box
|
// A and B represent two opposite corners of axis-aligned boundin box
|
||||||
type AABB2d struct {
|
type AABB2d struct {
|
||||||
A Point2d `json:A`
|
A Point2d `json:"A"`
|
||||||
B Point2d `json:B`
|
B Point2d `json:"B"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Polygon2d struct {
|
type Polygon2d struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user