mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-12 17:42:39 +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;
|
||||
auto endIndex = index;
|
||||
endIndex += part._numIndices;
|
||||
auto vertices = &_vertexBuffer.get<Vec3>(part._baseVertex);
|
||||
for (;index != endIndex; index++) {
|
||||
// skip primitive restart indices
|
||||
if ((*index) != PRIMITIVE_RESTART_INDEX) {
|
||||
|
@ -138,7 +137,6 @@ Box Mesh::evalPartsBound(int partStart, int partEnd) const {
|
|||
Box partBound;
|
||||
auto index = _indexBuffer.cbegin<uint>() + (*part)._startIndex;
|
||||
auto endIndex = index + (*part)._numIndices;
|
||||
//auto vertices = &_vertexBuffer.get<Vec3>((*part)._baseVertex);
|
||||
for (;index != endIndex; index++) {
|
||||
// skip primitive restart indices
|
||||
if ((*index) != (uint) PRIMITIVE_RESTART_INDEX) {
|
||||
|
|
Loading…
Reference in a new issue