examples/blur: Fix comments

This commit is contained in:
Hajime Hoshi 2018-10-01 02:37:53 +09:00
parent 5f87cc8acb
commit 8ac50a47f9

View File

@ -44,7 +44,8 @@ func update(screen *ebiten.Image) error {
op.GeoM.Translate(0, 0) op.GeoM.Translate(0, 0)
screen.DrawImage(gophersImage, op) screen.DrawImage(gophersImage, op)
// Simple linear blur (7x7) // Box blur (7x7)
// https://en.wikipedia.org/wiki/Box_blur
for j := -3; j <= 3; j++ { for j := -3; j <= 3; j++ {
for i := -3; i <= 3; i++ { for i := -3; i <= 3; i++ {
op := &ebiten.DrawImageOptions{} op := &ebiten.DrawImageOptions{}