src/raytracer.cc
branchpyrit
changeset 12 f4fcabf05785
parent 11 4d192e13ee84
child 14 fc18ac4833f2
equal deleted inserted replaced
11:4d192e13ee84 12:f4fcabf05785
   210 	float vy;
   210 	float vy;
   211 	RenderrowData *d;
   211 	RenderrowData *d;
   212 
   212 
   213 	printf("* building kd-tree\n");
   213 	printf("* building kd-tree\n");
   214 	//cout << endl;
   214 	//cout << endl;
   215 	static_cast<KdTree*>(top)->optimize();
   215 	top->optimize();
   216 	//static_cast<KdTree*>(top)->save(cout);
   216 	//static_cast<KdTree*>(top)->save(cout);
   217 	//cout << endl;
   217 	//cout << endl;
   218 
   218 
   219 	//srand(time(NULL));
   219 	//srand(time(NULL));
   220 
   220