MatrixState::SetOrientation
MatrixState::SetOrientation
Description
SetOrientation sets the orientation (landscape or portrait) of the viewport.
Parameters
Parameters |
Description |
const Viewport& vp |
The current viewport. |
Return Value
The modified viewport, based on the new orientation.