mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
clean up math varsize complaints
This commit is contained in:
parent
1230d0d280
commit
0ce2da3a23
30 changed files with 61 additions and 56 deletions
|
|
@ -512,7 +512,7 @@ void ColladaAppMesh::getPrimitives(const domGeometry* geometry)
|
|||
if (!pTriData)
|
||||
continue;
|
||||
|
||||
U32 numTriangles = pTriData->getCount() / meshPrims[iPrim]->getStride() / 3;
|
||||
U32 numTriangles = (U32)(pTriData->getCount() / meshPrims[iPrim]->getStride() / 3);
|
||||
if (!numTriangles)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue