fix w4018

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-18 17:45:51 -07:00
committed by Esteban Papp
parent 97354ce90a
commit 10f950b726
33 changed files with 72 additions and 73 deletions
@@ -697,7 +697,7 @@ namespace PhysXDebug
if (GetCurrentPxScene())
{
// Reserve vector capacity
const int numTriangles = rb.getNbTriangles();
const physx::PxU32 numTriangles = static_cast<physx::PxU32>(rb.getNbTriangles());
m_trianglePoints.reserve(numTriangles * 3);
m_triangleColors.reserve(numTriangles * 3);
@@ -731,7 +731,7 @@ namespace PhysXDebug
if (GetCurrentPxScene())
{
const int numLines = rb.getNbLines();
const physx::PxU32 numLines = static_cast<physx::PxU32>(rb.getNbLines());
// Reserve vector capacity
m_linePoints.reserve(numLines * 2);