home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vectoper.zip / RTObjOps.h < prev    next >
C/C++ Source or Header  |  1996-03-10  |  806b  |  41 lines

  1.  
  2. /*
  3.  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  4.  +
  5.  +  byu_objects.h  -- contains programming interface to functions that
  6.  +                    interact with byu objects.
  7.  +
  8.  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  9.  */
  10.  
  11.  
  12. #define OBJ_MAX  100
  13.  
  14. #define SPHERE     0
  15. #define POLY_MESH  1
  16. #define RECTANGLE  2
  17. #define TRIANGLE   3
  18.  
  19.  
  20.   
  21. #define X_AXIS  0
  22. #define Y_AXIS  1
  23. #define Z_AXIS  2
  24.    
  25.  
  26. extern Obj_View  obj_defaults;
  27.  
  28. /*
  29.  * extern Obj  obj_list[OBJ_MAX];
  30.  * extern Obj_Props  obj_props[OBJ_MAX];
  31.  * extern int  obj_num;
  32.  */
  33.  
  34. void build_object(FILE *fp, Boolean new_obj);
  35.  
  36. void surf_tri_norms(Surface *sptr, Vector *data);
  37. void surf_pt_norms(Surface *sptr, Vector *pnorms, int nvert);
  38.  
  39.  
  40.  
  41.