Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-28 15:07:56 -07:00
committed by Esteban Papp
parent e24bb8fa5b
commit 82b359e80d
2 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ namespace PhysX
PxMaterialUniquePtr m_pxMaterial;
AZ::Crc32 m_surfaceType = 0;
AZ::u32 m_cryEngineSurfaceId = -1;
AZ::u32 m_cryEngineSurfaceId = std::numeric_limits<AZ::u32>::max();
AZStd::string m_surfaceString;
float m_density = 1000.0f;
AZ::Color m_debugColor = AZ::Colors::White;
+13 -13
View File
@@ -879,18 +879,18 @@ namespace PhysXDebug
void SystemComponent::InitPhysXColorMappings()
{
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Physics);
m_colorMappings.m_defaultColor.FromU32(physx::PxDebugColor::eARGB_GREEN);
m_colorMappings.m_black.FromU32(physx::PxDebugColor::eARGB_BLACK);
m_colorMappings.m_red.FromU32(physx::PxDebugColor::eARGB_RED);
m_colorMappings.m_green.FromU32(physx::PxDebugColor::eARGB_GREEN);
m_colorMappings.m_blue.FromU32(physx::PxDebugColor::eARGB_BLUE);
m_colorMappings.m_yellow.FromU32(physx::PxDebugColor::eARGB_YELLOW);
m_colorMappings.m_magenta.FromU32(physx::PxDebugColor::eARGB_MAGENTA);
m_colorMappings.m_cyan.FromU32(physx::PxDebugColor::eARGB_CYAN);
m_colorMappings.m_white.FromU32(physx::PxDebugColor::eARGB_WHITE);
m_colorMappings.m_grey.FromU32(physx::PxDebugColor::eARGB_GREY);
m_colorMappings.m_darkRed.FromU32(physx::PxDebugColor::eARGB_DARKRED);
m_colorMappings.m_darkGreen.FromU32(physx::PxDebugColor::eARGB_DARKGREEN);
m_colorMappings.m_darkBlue.FromU32(physx::PxDebugColor::eARGB_DARKBLUE);
m_colorMappings.m_defaultColor.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_GREEN));
m_colorMappings.m_black.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_BLACK));
m_colorMappings.m_red.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_RED));
m_colorMappings.m_green.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_GREEN));
m_colorMappings.m_blue.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_BLUE));
m_colorMappings.m_yellow.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_YELLOW));
m_colorMappings.m_magenta.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_MAGENTA));
m_colorMappings.m_cyan.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_CYAN));
m_colorMappings.m_white.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_WHITE));
m_colorMappings.m_grey.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_GREY));
m_colorMappings.m_darkRed.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_DARKRED));
m_colorMappings.m_darkGreen.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_DARKGREEN));
m_colorMappings.m_darkBlue.FromU32(static_cast<AZ::u32>(physx::PxDebugColor::eARGB_DARKBLUE));
}
}