cosmotool/sample/testBSP.cpp

16 lines
279 B
C++
Raw Normal View History

2012-09-17 23:24:04 +02:00
#if 0
#include "bsp_simple.hpp"
int main(int argc, char **argv)
{
CosmoTool::simple_bsp::BSP<int, double, 2> bsp;
double p[5][2] = { { 0, 0}, {1, 0}, {1, 1}, {0, 1}, {0, 0} };
for (int q = 0; q < 4; q++)
bsp.insert(p+q, p+q+2, q);
return 0;
}
2012-09-17 23:24:04 +02:00
#endif
int main() {}