Beginning Math and Physics for Game Programmers
| < Day Day Up > |
Chapter 3, "Trigonometry Snippets"
Degrees to Radians
Angle in degrees * Radians to Degrees
Angle in radians * Trigonometric Functions
where opp = the side opposite a , adj = the side adjacent to a , and hyp = the hypotenuse . Other Trigonometric Functions
where opp = the side opposite a , adj = the side adjacent to a , and hyp = the hypotenuse. Period of the Sine Wave
For y = sin( Bx ), the period = Amplitude of the Sine Wave
For y = A sin( x ), the amplitude = A . Unit Circle Identity
cos 2 a + sin 2 a = 1 Tangent and Cotangent
Negative Angles
sin( “ a ) = “sin a cos( “ a ) = cos a tan( “ a ) = “tan a Sum and Difference Identities for Sine
sin( a 1 + a 2 ) = sin a 1 cos a 2 + cos a 1 sin a 2 sin( a 1 “ a 2 ) = sin a 1 cos a 2 “ cos a 1 sin a 2 Sum and Difference Identities for Cosine
cos( a 1 + a 2 ) = cos a 1 cos a 2 “ sin a 1 sin a 2 cos( a 1 “ a 2 ) = cos a 1 cos a 2 + sin a 1 sin a 2 |
| < Day Day Up > |