VideoCommon: Show the average projection to viewport ratio in statistics

window.
This commit is contained in:
Jordan Woyak
2023-09-05 15:34:43 -05:00
parent 1805f6e381
commit 1e27183dff
5 changed files with 21 additions and 2 deletions

View File

@ -147,6 +147,9 @@ void Statistics::DisplayProj() const
ImGui::Text("Projection 13: %f (%f)", gproj[13], g2proj[13]);
ImGui::Text("Projection 14: %f (%f)", gproj[14], g2proj[14]);
ImGui::Text("Projection 15: %f (%f)", gproj[15], g2proj[15]);
ImGui::NewLine();
ImGui::Text("Avg Projection Viewport Ratio Persp(3D): %f", avg_persp_proj_viewport_ratio);
ImGui::Text("Avg Projection Viewport Ratio Ortho(2D): %f", avg_ortho_proj_viewport_ratio);
ImGui::End();
}