We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.0, released 9 months ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
32
#76992: "Just like we did at the end of Chapter 1 . . . we start by changing the very last line of the code" but in chapter 1 the code was just placed...more...
P1.0
12-Jul-14
50

#77003: "Back in Chapter 3 . . ., on page 25, we used a function to avoid having to repeat the same process for creating a tree". Should be Chapter 4.

P1.0
14-Jul-14
64

#76876: There is no indication in the text that curly braces need to be added around the conditional blocks when adding the is_moving_* booleans. --Chris Strom

P1.0
19-Jun-14
71
#76677: Surely the correction of the footnote as published, is in fact incorrect? From my recollection of basic mathematics the order of operations i...more...
P1.0
16-Apr-14
84 71
#76434: Footnote 1 reads: "Without parentheses, multiplication is done first, then division. Remember the “order of operations” from your math class!...more...
P1.0
17-Feb-14
91
#77032: Reported from the forums (forums.pragprog.com/forums/284/topics/12871): Just replacing the 2 lines of the code for the OrthographicCamera is n...more...
Chris Strom says: The previous section in the chapter does tell the reader to enable the WebGL renderer so, if the reader is following along closely, this should just work. Still, this seems reasonable -- especially if readers are just skipping around and trying new things...
P1.0
20-Jul-14
120
#76736: WebGL may not work properly with Chrome 36. Seeing errors like: Error creating WebGL context. Uncaught TypeError: Cannot read property 'ge...more...
Chris Strom says: This appears to be a temporary Chrome-on-Linux thing: http://japhr.blogspot.com/2014/05/webgl-in-chrome-36-linux-is-not-working.html No need to address at this time.
P1.0
28-Apr-14
1805
#77034: The "PDF" page number above is actually a kindle sentence number. The section is "Listing Things" in chapter 7. You may wish to mention th...more...
P1.0
22-Jul-14
2325
#77039: PDF Page is kindle reference. In Chapter 11, Fruit Hunt, Jumping for Points section, there is a sentence which reads, "Now we add the jump fun...more...
P1.0
22-Jul-14