hyperboloid.cpp File Reference

#include "stdafx.h"
#include "shapes/hyperboloid.h"
#include "paramset.h"

Go to the source code of this file.

Defines

#define SQR(a)   ((a)*(a))
#define QUAD(a)   ((SQR(a))*(SQR(a)))

Functions

ShapeCreateHyperboloidShape (const Transform *o2w, const Transform *w2o, bool reverseOrientation, const ParamSet &params)

Define Documentation

#define QUAD (  )     ((SQR(a))*(SQR(a)))

Definition at line 232 of file hyperboloid.cpp.

Referenced by Hyperboloid::Area().

#define SQR (  )     ((a)*(a))

Definition at line 231 of file hyperboloid.cpp.

Referenced by Hyperboloid::Area().


Function Documentation

Shape* CreateHyperboloidShape ( const Transform o2w,
const Transform w2o,
bool  reverseOrientation,
const ParamSet params 
)

Definition at line 251 of file hyperboloid.cpp.

References ParamSet::FindOneFloat(), and ParamSet::FindOnePoint().

Referenced by MakeShape().

Generated on Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3