mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-03 22:44:28 +01:00
gofmt
This commit is contained in:
parent
beaa060ce3
commit
95b7e8078b
@ -90,7 +90,7 @@ func vertices(sx0, sy0, sx1, sy1 int, width, height int, geo *affine.GeoM) []flo
|
|||||||
// Adjust texels to be slightly inside the source rect. Without this
|
// Adjust texels to be slightly inside the source rect. Without this
|
||||||
// adjustment, texels can be exactly as same values as the edges'
|
// adjustment, texels can be exactly as same values as the edges'
|
||||||
// positions and it could happen that nothing is rendered. (#491)
|
// positions and it could happen that nothing is rendered. (#491)
|
||||||
const minHighpValue = 1.0/32768.0
|
const minHighpValue = 1.0 / 32768.0
|
||||||
u0 += minHighpValue
|
u0 += minHighpValue
|
||||||
v0 += minHighpValue
|
v0 += minHighpValue
|
||||||
u1 -= minHighpValue
|
u1 -= minHighpValue
|
||||||
|
Loading…
Reference in New Issue
Block a user