Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

physics/SimpleTerrain.cpp File Reference

#include <physics/SimpleTerrain>
#include <physics/Material>
#include <physics/OBBCollisionModel>
#include <gfx/Tesselation>
#include <gfx/Color3>
#include <gfx/Triangle3>
#include <base/array>

Include dependency graph for SimpleTerrain.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define vAt(xxi, yyi)
#define nAt(xi, yi)   normals[(yi)*hf.nx()+(xi)]


Define Documentation

#define nAt xi,
yi   )     normals[(yi)*hf.nx()+(xi)]
 

#define vAt xxi,
yyi   ) 
 

Value:

( (((xxi) < 0) || ((xxi) >= (SInt)hf.nx()) || ((yyi) < 0) || ((yyi) >= (SInt)hf.ny()))?\
  Point3((xxi)*hf.dx(),0.0,hf.ysize()-(yyi)*hf.dy()):(vertices[(yyi)*hf.nx()+(xxi)]) )


Generated on Thu Jul 29 16:30:47 2004 for OpenSim by doxygen 1.3.6