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

mpoly* makeRegularPrism

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

creates an mpolys representing a regular prism.

Documentation

creates an mpolys representing a regular prism. n is the number of sides, l is the length, and r is the radius (measured from the center to the vertices on the outside surface of the prism). 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++.