home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / radiance / nextrad.lha / NeXtRad / misc.h < prev    next >
Encoding:
Text File  |  1993-02-22  |  721 b   |  18 lines

  1. /* misc.h */
  2. /* written by : Jason R. Wilson */
  3. /* 2/21/93 */
  4.  
  5. void IdentifyVertices (ObjectCell *Object);
  6. /* this routine goes through all the vertices and associates a unique
  7.    integer with each one (it also counts them and stores the result
  8.                in NoofVertices) */
  9. int IdentifyPolys (ObjectCell *ObjectHead);
  10. /* identifies and counts all of the polygons in the scene */
  11. int IdentifyVerts (ObjectCell *ObjectHead);
  12. /* identifies and counts all of the vertices in the scene */
  13. void ComputeNormals (ObjectCell *Object);
  14. /* computes the polygon and vertex normals for the input object */
  15. void CullBackFaces (ObjectCell *ObjectHead,double Eye,Point VRP,Vector n);
  16. /* marks backfacing polygons in the scene culled */
  17.  
  18.