src/shpl.c

00001 
00006 /*
00007  *  PROGRAM NAME:  sh
00008  *
00009  *  (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES
00010  *  CORPORATION 12/1/2001.  ALL RIGHTS RESERVED.
00011  *
00012  *  Please refer to the LICENSE file in the top directory
00013  *
00014  *      author: Mike Henderson mhender@watson.ibm.com
00015  */
00016 
00017 static char *id="@(#) $Id: shpl.c,v 1.2 2006/08/17 19:28:17 mhender Exp $";
00018 
00019 #include <shInternal.h>
00020 
00029 void shpl(int *n,float *x,float *y,float *z)
00030  {
00031   int i;
00032 
00033 /*  Shade and render a polyline */
00034 
00035   for(i=0;i<*n-1;i++)
00036     shline(x+i,y+i,z+i,x+i+1,y+i+1,z+i+1);
00037 
00038   return;
00039  }

Generated on Thu Aug 17 15:29:43 2006 for sh by  doxygen 1.4.6