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: shdraw.c,v 1.2 2006/08/17 19:28:17 mhender Exp $"; 00018 00019 #include <shInternal.h> 00020 00029 void shdraw(float *x,float *y,float *z,int *ip) 00030 { 00031 00032 /* Calcomp type interface for line drawing routine. */ 00033 00034 if(*ip==2) 00035 shline(&sh_x0,&sh_y0,&sh_z0,x,y,z); 00036 sh_x0=*x; 00037 sh_y0=*y; 00038 sh_z0=*z; 00039 return; 00040 }