fix w4018
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user