File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
libraries/entities-renderer/src Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -738,13 +738,6 @@ class CubicSurfaceExtractorWithNormals : public SurfaceExtractor {
738738 std::vector<uint32_t > vecIndices;
739739};
740740
741- #if 0
742- QDebug& operator<<(QDebug& s, const glm::ivec3& v) {
743- s << '(' << v.x << ' ' << v.y << ' ' << v.z << ')';
744- return s;
745- }
746- #endif
747-
748741class MarchingCubesSurfaceExtractor : public SurfaceExtractor {
749742public:
750743 inline MarchingCubesSurfaceExtractor (std::shared_ptr<VoxelVolume> vol) : SurfaceExtractor(vol) {}
@@ -791,13 +784,6 @@ class MarchingCubesSurfaceExtractor : public SurfaceExtractor {
791784 if (v7 != 0 )
792785 cubeindex |= 0b10000000 ;
793786
794- #if 0
795- if (cubeindex > 0 && cubeindex < (uint8_t)-1) {
796- qDebug() << "MARCHING index" << i0 << i1 << i2 << i3 << i4 << i5 << i6 << i7;
797- qDebug() << "MARCHING vals" << v0 << v1 << v2 << v3 << v4 << v5 << v6 << v7;
798- }
799- #endif
800-
801787 auto edgemask = edgeTable[cubeindex];
802788 glm::vec3 vertlist[12 ];
803789
You can’t perform that action at this time.
0 commit comments