In file /home/blah/darwin2k/src/dyno/dynoAux/dynoGeometry.h:

ptrList* makeRegularHollowPrism

(int n,
  double l,
  double r,
  double t,
  double density,
  const float* color,
  int computeNormals = 0)

creates a list of mpolys representing a regular, hollow prism.

Documentation

creates a list of mpolys representing a regular, hollow prism. n is the number of sides, l is the length, r is the radius (measured from the center to the vertices on the outside surface of the prism), and t is the wall thickness. density and color provide the obvious things. if computeNormals is 1 then per-vertex normals will be computed.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.