mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-17 15:48:17 +01:00
Small cosmetics.
This commit is contained in:
parent
f83efba3cf
commit
cbc5ed0c6c
@ -145,10 +145,7 @@ func InterleavedToCoord(pos int64) Coord {
|
||||
}
|
||||
pos >>= 1
|
||||
}
|
||||
x += minValue
|
||||
y += minValue
|
||||
z += minValue
|
||||
return Coord{X: x, Y: y, Z: z}
|
||||
return Coord{X: x + minValue, Y: y + minValue, Z: z + minValue}
|
||||
}
|
||||
|
||||
func CoordToPlain(c Coord) int64 {
|
||||
|
Loading…
Reference in New Issue
Block a user