mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 12:42:58 +02:00
Adressing build warnings
This commit is contained in:
parent
5aa45b64d2
commit
e428248472
1 changed files with 0 additions and 2 deletions
|
@ -116,7 +116,6 @@ Box Mesh::evalPartBound(int partNum) const {
|
||||||
index += part._startIndex;
|
index += part._startIndex;
|
||||||
auto endIndex = index;
|
auto endIndex = index;
|
||||||
endIndex += part._numIndices;
|
endIndex += part._numIndices;
|
||||||
auto vertices = &_vertexBuffer.get<Vec3>(part._baseVertex);
|
|
||||||
for (;index != endIndex; index++) {
|
for (;index != endIndex; index++) {
|
||||||
// skip primitive restart indices
|
// skip primitive restart indices
|
||||||
if ((*index) != PRIMITIVE_RESTART_INDEX) {
|
if ((*index) != PRIMITIVE_RESTART_INDEX) {
|
||||||
|
@ -138,7 +137,6 @@ Box Mesh::evalPartsBound(int partStart, int partEnd) const {
|
||||||
Box partBound;
|
Box partBound;
|
||||||
auto index = _indexBuffer.cbegin<uint>() + (*part)._startIndex;
|
auto index = _indexBuffer.cbegin<uint>() + (*part)._startIndex;
|
||||||
auto endIndex = index + (*part)._numIndices;
|
auto endIndex = index + (*part)._numIndices;
|
||||||
//auto vertices = &_vertexBuffer.get<Vec3>((*part)._baseVertex);
|
|
||||||
for (;index != endIndex; index++) {
|
for (;index != endIndex; index++) {
|
||||||
// skip primitive restart indices
|
// skip primitive restart indices
|
||||||
if ((*index) != (uint) PRIMITIVE_RESTART_INDEX) {
|
if ((*index) != (uint) PRIMITIVE_RESTART_INDEX) {
|
||||||
|
|
Loading…
Reference in a new issue