jjcrook99 / beginnginandroidgames2

Automatically exported from code.google.com/p/beginnginandroidgames2
0 stars 0 forks source link

Typo on page 93 in the color formulas #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Typo on page 93.

At the equations on the bottom green and blue are flipped. It reads:

blue = src.green * src.alpha + dst.green * (1 - src.alpha)
green = src.blue * src.alpha + dst.blue * (1 - src.alpha)

Not a huge deal just thought I'd help point it out for future prints.  Great 
book so far!

Original issue reported on code.google.com by Kay...@gmail.com on 4 Sep 2013 at 7:27