Example #1
0
int main(int argc, const char* argv[])
{
	rayInit(argv[0], "dlc:GI/scene/scene.map");
	
	if (rayOpenWindow("Global illumination", 1376, 768))
	{
		while (!rayIsQuitRequest())
			rayUpdate();
	}

	rayTerminate();
	return 0;
}
Example #2
0
int main(int argc, const char* argv[])
{
	rayInit(argv[0], "dlc:cube/scenes/scene.map");
	rayOpenWindow("Cube World", 1376, 768);

	while (!rayIsQuitRequest())
	{
		rayUpdate();
	}

	rayTerminate();
	return 0;
}