Skip to content

Commit dbd2805

Browse files
committed
remove debug code I forgot about
1 parent 8d0c237 commit dbd2805

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/nbl/asset/utils/CGeometryCreator.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -498,15 +498,6 @@ core::smart_refctd_ptr<ICPUPolygonGeometry> CGeometryCreator::createSphere(float
498498
memcpy(normals + vertex_i, &quantizedBottomNormal, sizeof(quantizedBottomNormal));
499499
}
500500

501-
for (auto i = 0u; i < vertexCount; ++i)
502-
{
503-
auto position = positions[i];
504-
auto len = glm::length(position);
505-
506-
auto ok = len >= 1.f - 0.01f;
507-
assert(ok);
508-
}
509-
510501
CPolygonGeometryManipulator::recomputeContentHashes(retval.get());
511502
return retval;
512503
}

0 commit comments

Comments
 (0)