public void ResetViewProjectionMode()
{
if ( this.lastViewWasIdentity )
{
// Coming back to normal from identity view
this.targetRenderSystem.ViewMatrix = this.cameraInProgress.ViewMatrix;
this.lastViewWasIdentity = false;
}
if ( this.lastProjectionWasIdentity )
{
// Coming back from flat projection
this.targetRenderSystem.ProjectionMatrix = this.cameraInProgress.ProjectionMatrixRS;
this.lastProjectionWasIdentity = false;
}
}