slight refactor, gofmt
This commit is contained in:
@ -85,4 +85,4 @@ func (f *FieldOfVision) RayCast(playerX, playerY int, gameMap *gamemap.Map) {
|
||||
|
||||
func Round(f float64) float64 {
|
||||
return math.Floor(f + .5)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user