diff --git a/panda/src/grutil/heightfieldTesselator.I b/panda/src/grutil/heightfieldTesselator.I index fa9a20d66f..a013d14c27 100644 --- a/panda/src/grutil/heightfieldTesselator.I +++ b/panda/src/grutil/heightfieldTesselator.I @@ -157,10 +157,10 @@ subdivide(int scale, int x, int y) { if (scale == 0) { return false; } - int size = 1<> 1; - int xcenter = x+hsize; - int ycenter = y+hsize; + // int size = 1<> 1; + // int xcenter = x+hsize; + // int ycenter = y+hsize; int deltax = x - _focal_x; int deltay = y - _focal_y; if (deltax < 0) deltax = -deltax;