In file components.h:

ptrList* createMotorAndGearheadPolys

(rotaryActuator* act,
  gearBox* gbx,
  int nfacets = 8,
  float* color = NULL)

Creates two mpolys, one for a motor and one for a gearhead, and returns pointers to them in the ptrList.

Documentation

Creates two mpolys, one for a motor and one for a gearhead, and returns pointers to them in the ptrList. Each of the mpolys have the correct size and mass for the supplied components. The long axes of each of the mpolys are aligned with the Z axis, and the mpoly for the gearhead is displaced along Z so that the gearhead is attached to the end of the motor. The caller should free the ptrList after adding the mpolys to a part or link.

Alphabetic index HTML hierarchy of classes or Java



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