heightfield.cpp File Reference

#include "stdafx.h"
#include "shapes/heightfield.h"
#include "shapes/trianglemesh.h"
#include "paramset.h"

Go to the source code of this file.

Defines

#define VERT(x, y)   ((x)+(y)*nx)

Functions

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

Define Documentation

#define VERT ( x,
 )     ((x)+(y)*nx)

Referenced by Heightfield::Refine().


Function Documentation

Heightfield* CreateHeightfieldShape ( const Transform o2w,
const Transform w2o,
bool  reverseOrientation,
const ParamSet params 
)

Definition at line 107 of file heightfield.cpp.

References Assert, ParamSet::FindFloat(), and ParamSet::FindOneInt().

Referenced by MakeShape().

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