mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
examples/blur: Fix comments
This commit is contained in:
parent
5f87cc8acb
commit
8ac50a47f9
@ -44,7 +44,8 @@ func update(screen *ebiten.Image) error {
|
||||
op.GeoM.Translate(0, 0)
|
||||
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 i := -3; i <= 3; i++ {
|
||||
op := &ebiten.DrawImageOptions{}
|
||||
|
Loading…
Reference in New Issue
Block a user