mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
doc: Add comments #348
This commit is contained in:
parent
6be25d3297
commit
8263e14690
@ -44,6 +44,7 @@ func vertices(parts ImageParts, width, height int, geo *affine.GeoM) []float32 {
|
||||
n := 0
|
||||
for i := 0; i < l; i++ {
|
||||
dx0, dy0, dx1, dy1 := parts.Dst(i)
|
||||
// This is necessary to avoid wrong drawing. See #348.
|
||||
if dx0 == dx1 || dy0 == dy1 {
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user