We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0c237 commit dbd2805Copy full SHA for dbd2805
src/nbl/asset/utils/CGeometryCreator.cpp
@@ -498,15 +498,6 @@ core::smart_refctd_ptr<ICPUPolygonGeometry> CGeometryCreator::createSphere(float
498
memcpy(normals + vertex_i, &quantizedBottomNormal, sizeof(quantizedBottomNormal));
499
}
500
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
510
CPolygonGeometryManipulator::recomputeContentHashes(retval.get());
511
return retval;
512
0 commit comments