O'Reilly logo

Beginning Math and Physics for Game Programmers by Wendy Stahler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Visualization Experience

On the CD-ROM, you will find a demo named 1D Racer. Here's a brief description from the programmer, Kaveh Kahrizi:

1D Racer demonstrates the motion of an object with constant acceleration moving through space. First you choose the formula you want, and then you choose the unknown variable. After you have entered valid values for the three known parameters, the race begins. The formulas are clearly marked in the Game class's header (Game.h) by the large comment block. The workspace was created in Visual Studio 6.0, although the files can easily be added to any existing workspace without your having to change the project settings, as long as the compiler is configured to know where DirectX include and library files are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required