home *** CD-ROM | disk | FTP | other *** search
/ PC/CD FUN 24 / cdimage.iso / dos / POV / MORAY2 / POLYSCN / PYRAMID.INC < prev   
Encoding:
Text File  |  1995-12-28  |  588 b   |  14 lines

  1. //
  2. // Example of a user-defined object
  3. // This is tetrahedron for Polyray.
  4. //
  5.  
  6. define Pyramid 
  7. object {
  8.    object { polygon 3, < 0.0, 0.00000,  1.73205>, < 0.00000,  1.632990, -0.57735>, <-1.41421, -0.816496, -0.57735> }
  9. +  object { polygon 3, < 0.0, 0.00000,  1.73205>, <-1.41421, -0.816496, -0.57735>, < 1.41421, -0.816496, -0.57735> }
  10. +  object { polygon 3, < 0.0, 0.00000,  1.73205>, < 1.41421, -0.816496, -0.57735>, < 0.00000,  1.632990, -0.57735> }
  11. +  object { polygon 3, < 0.0, 1.63299, -0.57735>, < 1.41421, -0.816496, -0.57735>, <-1.41421, -0.816496, -0.57735> }
  12. }
  13.  
  14.