home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / orbitsou.cpt / Orbit Source ƒ / orbit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-12-20  |  349 b   |  12 lines

  1. #define NDIMS 3
  2.  
  3. typedef struct {
  4.     double m;                /* Kilograms */
  5.     double x[NDIMS];            /* meters */
  6.     double p[NDIMS];            /* momentum (kg m/s) */
  7.     double xt[NDIMS];            /* x,y at time 1/2 way through next interval*/
  8.     double f[NDIMS];            /* x and y force    */
  9.     Point pt;                /* previous screen position */
  10. } PARTICLE;
  11.  
  12. enum {dot = 1, dottrain, linetrail, tail};