C:/programming/teaching/path_tracer/polygon.cpp File Reference

#include "math.h"
#include "random.h"
#include "polygon.h"

Functions

static float xVal (Point p, int s)
static float yVal (Point p, int s)
static float dxVal (Point p0, Point p1, int s)
static float dyVal (Point p0, Point p1, int s)
static float myabs (float x)
static int maxCoeff (float a, float b, float c)
ostream & operator<< (ostream &s, Polygon poly)
istream & operator>> (istream &s, Polygon &poly)

Function Documentation

static float dxVal ( Point  p0,
Point  p1,
int  s 
) [static]

static float dyVal ( Point  p0,
Point  p1,
int  s 
) [static]

static int maxCoeff ( float  a,
float  b,
float  c 
) [static]

static float myabs ( float  x  )  [static]

ostream& operator<< ( ostream &  s,
Polygon  poly 
)

istream& operator>> ( istream &  s,
Polygon poly 
)

static float xVal ( Point  p,
int  s 
) [static]

static float yVal ( Point  p,
int  s 
) [static]


Generated on Fri Jan 12 10:15:51 2007 for Path tracing coursework by  doxygen 1.5.1-p1