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

Chapter 3. Trigonometry Snippets

KEY TOPICS

This chapter sets up standards for dealing with angles. Not only are they used for rotation, but they're also used to establish direction for vectors. This chapter also defines the trigonometric functions, which are used whenever you want to model wavelike oscillating motion or model a scenario with a right triangle. They are also used extensively in Chapter 4, “Vector Operations,” when we discuss vectors. The last two sections focus on identities for manipulating trig functions within equations and using the trig functions in C++. This chapter lays the groundwork for all the chapters that follow.

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