Fixed build warnings on MSVC14 x64 in the O3DGC sources.
parent
8478b03f22
commit
12aab0f4ef
|
@ -383,7 +383,7 @@ namespace o3dgc
|
||||||
r = (maxTab[d] - minTab[d]);
|
r = (maxTab[d] - minTab[d]);
|
||||||
diag += r*r;
|
diag += r*r;
|
||||||
}
|
}
|
||||||
diag = sqrt(diag);
|
diag = static_cast<Real>(sqrt(diag));
|
||||||
for(unsigned long d = 0; d < dim; ++d)
|
for(unsigned long d = 0; d < dim; ++d)
|
||||||
{
|
{
|
||||||
maxTab[d] = minTab[d] + diag;
|
maxTab[d] = minTab[d] + diag;
|
||||||
|
|
Loading…
Reference in New Issue