Skip to content

Commit fe050a6

Browse files
committed
remove unused debug code
1 parent e7f34e5 commit fe050a6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

libraries/entities-renderer/src/RenderablePolyVoxEntityItem.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff 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-
748741
class MarchingCubesSurfaceExtractor : public SurfaceExtractor {
749742
public:
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

0 commit comments

Comments
 (0)