mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
examples/blur: Add comments
This commit is contained in:
parent
66ca53529b
commit
502919dea0
@ -50,7 +50,7 @@ func update(screen *ebiten.Image) error {
|
||||
op := &ebiten.DrawImageOptions{}
|
||||
op.GeoM.Translate(float64(i), 244+float64(j))
|
||||
// Alpha scale should be 1.0/49.0, but accumulating 1/49 49 times doesn't reach to 1 due to
|
||||
// errors.
|
||||
// errors (#694).
|
||||
op.ColorM.Scale(1, 1, 1, 1.0/25.0)
|
||||
screen.DrawImage(gophersImage, op)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user