quadtree.h revision 037c4c3708e40a1f7569b4ea176380958fd1389a
#include <vector>
#include <cassert>
#include "d2.h"
Quad() {
for(int i = 0; i < 4; i++)
children[i] = 0;
}
double dd = d/2;
switch(i % 4) {
case 0:
case 1:
case 2:
case 3:
default:
/* just to suppress warning message
* this case should be never reached */
assert(false);
}
}
};
double scale;
};
};
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :