예제 #1
0
/* initialize the heap
 * heap_size is total desired size (in words)
 */
void initialize_heap(size_t heap_words) {
  heap = initspace(heap_words);

#ifdef DEBUG_HEAP
  printf("initialize_heap called, size=%zu\n", heap_words);
#endif
}
예제 #2
0
int ca3Dbase::run(int argc, char **argv)
{
	ca3Dglobal::CurrentCA = this;

	initglut(argc, argv);
	initspace(size, wrap);
	initgraphics();
	initcamera();

	glutMainLoop(); //call the main loop
	return 0;
}
예제 #3
0
void ca3Dbase::start()
{
	initspace(size, wrap);
}