ka4tik / beginning-android-games

Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

Typo Page 89 #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Near the bottom of the page you list the following equations:
blue = src.green * src.alpha + dst.green * (1 - src.alpha)
green = src.blue * src.alpha + dst.blue * (1 - src.alpha)

shouldn't is be:
blue = src.blue * src.alpha + dst.blue * (1 - src.alpha)
green = src.green * src.alpha + dst.green * (1 - src.alpha)

Original issue reported on code.google.com by SmithSco...@gmail.com on 23 Jun 2011 at 4:22

GoogleCodeExporter commented 8 years ago
That's correct. Fixed in second revision, thanks!

Original comment by badlogicgames on 24 Aug 2011 at 4:07