int main(int argc, char **argv) { mt = mtInit(time(NULL)); test(); testIntersect(0); testIntersect(1); testIntersect(2); testMerge(); exit(0); }
int main(int argc, char *argv[]) /* Process command line. */ { optionInit(&argc, argv, options); if (argc != 4) usage(); testIntersect(argv[1], argv[2], argv[3]); return 0; }
void Octree::collectTree(std::list<SpatialBound3*>& collection, const Frustum3& frustum) { if (subtreesArePresent()) { for (int i = 0; i < 8; ++i) { if (testIntersect(m_children[i]->m_boundingBox, frustum)) { m_children[i]->collectTree(collection, frustum); } } } collectNode(collection, frustum); }
int main() { printf("=== %s ===\n", __FILE__); cgAppState__init(__FILE__); testNewDelete(); testIntersect(); testDoesOverlap(); printf("=== %s ok ===\n", __FILE__); return 0; }
int main(int argc, char** argv) { std::cout << "%SUITE_STARTING% geometry_intersectiontester" << std::endl; std::cout << "%SUITE_STARTED%" << std::endl; std::cout << "%TEST_STARTED% testIntersect (geometry_intersectiontester)" << std::endl; testIntersect(); std::cout << "%TEST_FINISHED% time=0 testIntersect (geometry_intersectiontester)" << std::endl; std::cout << "%SUITE_FINISHED% time=0" << std::endl; return (EXIT_SUCCESS); }