O'Reilly logo

Beginning Pre-Calculus for Game Developers by Boris Meltreger, John P. Flynt

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

Ratios and Degrees

Generating values for the geometric ratios usually involves either knowing the lengths of three sides of a right triangle or calculating this information using the information available to you. As discussed previously, the most common starting position for using the ratios involves employing the Pythagorean theorem to calculate the length of the hypotenuse. If you know the length of the hypotenuse and the lengths of the two sides, then you can proceed to calculate any of the values made available to you through the trigonometric ratios.

To extend this notion, consider a right triangle that possesses adjacent and opposite sides that are 1 unit in length. Figure 12.10 illustrates such a triangle. Given this version of a right ...

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