mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 16:14:45 +02:00
fix warning on windows build
This commit is contained in:
parent
7ee4dea4ca
commit
21ef30d410
1 changed files with 2 additions and 2 deletions
|
@ -377,7 +377,7 @@ bool vhacd::VHACDUtil::computeVHACD(FBXGeometry& geometry,
|
||||||
// figure out if the mesh is a closed manifold or not
|
// figure out if the mesh is a closed manifold or not
|
||||||
bool closed = isClosedManifold(triangles);
|
bool closed = isClosedManifold(triangles);
|
||||||
if (closed) {
|
if (closed) {
|
||||||
unsigned int triangleCount = triangles.size() / 3;
|
unsigned int triangleCount = (unsigned int)(triangles.size()) / 3;
|
||||||
if (_verbose) {
|
if (_verbose) {
|
||||||
qDebug() << " process closed part" << partIndex << ": " << " triangles =" << triangleCount;
|
qDebug() << " process closed part" << partIndex << ": " << " triangles =" << triangleCount;
|
||||||
}
|
}
|
||||||
|
@ -413,7 +413,7 @@ bool vhacd::VHACDUtil::computeVHACD(FBXGeometry& geometry,
|
||||||
}
|
}
|
||||||
|
|
||||||
// this time we don't care if the parts are close or not
|
// this time we don't care if the parts are close or not
|
||||||
unsigned int triangleCount = triangles.size() / 3;
|
unsigned int triangleCount = (unsigned int)(triangles.size()) / 3;
|
||||||
if (_verbose) {
|
if (_verbose) {
|
||||||
qDebug() << " process remaining open parts =" << openParts.size() << ": "
|
qDebug() << " process remaining open parts =" << openParts.size() << ": "
|
||||||
<< " triangles =" << triangleCount;
|
<< " triangles =" << triangleCount;
|
||||||
|
|
Loading…
Reference in a new issue