SetPosition The default position of the screen is x = 0.0, y = 0.0. This function could be used to implement scrolling but the objects which are rendered outside of the screen will still be sent to the graphics card where they're discarted. Examples // Set the position of the screen contents to x = 200.0, y = 100.0 //
Transforms::SetPosition( 200.0, 100.0 ); // Set the position of the screen back to the original position // Transforms::SetPosition( 0.0, 0.0 ); Other functions of the class Transforms
Questions about SetPosition? Click here. |