Remove std prefix from uint types

std::uint*  ->  uint*
This commit is contained in:
sukibaby
2024-10-05 17:51:14 -07:00
committed by teejusb
parent 57afab25c1
commit 659cd549a2
112 changed files with 589 additions and 589 deletions
+6 -6
View File
@@ -72,8 +72,8 @@ void RageModelGeometry::MergeMeshes( int iFromIndex, int iToIndex )
{
for( int j=0; j<3; j++ )
{
std::uint16_t &iIndex = meshTo.Triangles[i].nVertexIndices[j];
iIndex = std::uint16_t(iIndex + iShiftTriangleVertexIndicesBy);
uint16_t &iIndex = meshTo.Triangles[i].nVertexIndices[j];
iIndex = uint16_t(iIndex + iShiftTriangleVertexIndicesBy);
}
}
}
@@ -150,7 +150,7 @@ void RageModelGeometry::LoadMilkshapeAscii( const RString& _sPath, bool bNeedsNo
mesh.sName = szName;
// mesh.nFlags = nFlags;
mesh.nMaterialIndex = (std::uint8_t) nIndex;
mesh.nMaterialIndex = (uint8_t) nIndex;
mesh.m_iBoneIndex = -1;
@@ -193,7 +193,7 @@ void RageModelGeometry::LoadMilkshapeAscii( const RString& _sPath, bool bNeedsNo
v.t[0] = v.p[0] / v.t[0];
v.t[1] = v.p[1] / v.t[1];
}
v.bone = (std::uint8_t) nIndex;
v.bone = (uint8_t) nIndex;
RageVec3AddToBounds( v.p, m_vMins, m_vMaxs );
}
@@ -240,8 +240,8 @@ void RageModelGeometry::LoadMilkshapeAscii( const RString& _sPath, bool bNeedsNo
if( f.GetLine( sLine ) <= 0 )
THROW;
std::uint16_t nIndices[3];
std::uint16_t nNormalIndices[3];
uint16_t nIndices[3];
uint16_t nNormalIndices[3];
if( sscanf (sLine, "%d %hu %hu %hu %hu %hu %hu %d",
&nFlags,
&nIndices[0], &nIndices[1], &nIndices[2],