diff --git a/Apps/06-CubeMapArray/CubeMapArrayApp.cpp b/Apps/06-CubeMapArray/CubeMapArrayApp.cpp index 98c27af1d..1b59f7767 100644 --- a/Apps/06-CubeMapArray/CubeMapArrayApp.cpp +++ b/Apps/06-CubeMapArray/CubeMapArrayApp.cpp @@ -59,7 +59,8 @@ CubeMapArrayApp::CubeMapArrayApp() }(), GetUserInterfaceTutorialAppSettings(AppOptions::GetDefaultWithColorDepthAndAnim()), "Methane tutorial of cube-map array texturing") - , m_model_matrix(hlslpp::mul(hlslpp::float4x4::scale(g_model_scale), hlslpp::float4x4::rotation_z(std::numbers::pi))) // NOSONAR + , m_model_matrix(hlslpp::mul(hlslpp::float4x4::scale(g_model_scale), + hlslpp::float4x4::rotation_z(std::numbers::pi_v))) { // NOTE: Near and Far values are swapped in camera parameters (1st value is near = max depth, 2nd value is far = min depth) // for Reversed-Z buffer values range [ near: 1, far 0], instead of [ near 0, far 1]