Fix all go vet issues
This commit is contained in:
parent
204c786103
commit
b5707ab71c
13 changed files with 195 additions and 170 deletions
|
@ -60,7 +60,7 @@ func Min(v1 Vector, v2 Vector) Vector {
|
|||
return Vector{maths.Min(v1.X, v2.X), maths.Min(v1.Y, v2.Y)}
|
||||
}
|
||||
|
||||
// Min returns the max values in both vectors
|
||||
// Max returns the max values in both vectors
|
||||
func Max(v1 Vector, v2 Vector) Vector {
|
||||
return Vector{maths.Max(v1.X, v2.X), maths.Max(v1.Y, v2.Y)}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue