Skip to content

Commit

Permalink
Fix build warning/error
Browse files Browse the repository at this point in the history
  • Loading branch information
egorodet committed Jan 7, 2025
1 parent cce76a4 commit c7dd11f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Apps/06-CubeMapArray/CubeMapArrayApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<float>)))
{
// 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]
Expand Down

0 comments on commit c7dd11f

Please sign in to comment.