Assignments
Assignments
|
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <Util/cmdLineParser.h>
#include <Ray/window.h>
#include <Ray/box.h>
#include <Ray/cone.h>
#include <Ray/cylinder.h>
#include <Ray/sphere.h>
#include <Ray/torus.h>
#include <Ray/triangle.h>
#include <Ray/fileInstance.h>
#include <Ray/directionalLight.h>
#include <Ray/pointLight.h>
#include <Ray/spotLight.h>
#include <Ray/sphereLight.h>
Functions | |
void | ShowUsage (const string &ex) |
int | main (int argc, char *argv[]) |
Variables | |
CmdLineParameter< string > | InputRayFile ("in") |
CmdLineParameter< int > | WindowWidth ("width", 640) |
CmdLineParameter< int > | WindowHeight ("height", 480) |
CmdLineParameter< int > | Complexity ("cplx", 10) |
CmdLineReadable * | params [] |
int main | ( | int | argc, |
char * | argv[] | ||
) |
void ShowUsage | ( | const string & | ex | ) |
CmdLineParameter< int > Complexity("cplx", 10) | ( | "cplx" | , |
10 | |||
) |
CmdLineParameter< string > InputRayFile("in") | ( | "in" | ) |
CmdLineReadable* params[] |
CmdLineParameter< int > WindowHeight("height", 480) | ( | "height" | , |
480 | |||
) |
CmdLineParameter< int > WindowWidth("width", 640) | ( | "width" | , |
640 | |||
) |