SetRotationPivot
Sets the pivot point of the screen rotation. The default point is the center of the screen. Hint: You can set the pivot point to be the player's position in the screen to rotate the screen around the player. Examples // Set the rotation point of the screen contents to x = 300.0, y = 400.0 //
Transforms::SetRotationPivot( 300.0, 400.0 ); // Set the rotation point back to the center of the screen // Transforms::SetRotationPivot( SCREEN_W/2, SCREEN_H/2 ); Other functions of the class Transforms
Questions about SetRotationPivot? Click here. |