Preface
1 Read Me First
1.1 Why Does This Book Exist?
1.2 Preconditions
1.3 Postconditions
1.4 Programming Style
1.5 Supplementary Material
I Introduction to Game Physics
2 Mathematics for Game Physics
2.1 Geometry and Linear Algebra
2.2 Reflections on Reflection
2.3 Digital Calculus
2.4 Relaxation
2.5 Exercises
3 A Rigid Body Physics Game
3.1 The Eight-Ball Pool End Game
3.2 Code Run-Through
3.3 Render World
3.4 Object World
3.5 Objects
3.6 Exercises
4 A Soft Body Physics Toy
4.1 Particles
4.2 Springs
4.3 Soft Bodies
4.4 Ragdoll Physics
4.5 Exercises
II Game Physics with Box2D
5 Getting Started
5.1 Download and Set Up Box2D
5.2 Overview of Box2D
5.3 Units
5.4 Our First Box2D App
5.5 Exercises
6 A Tale of Three Modules
6.1 The Common ...