-/* $Id: gears.c,v 1.5 2000/04/05 21:36:03 brianp Exp $ */
+/* $Id: gears.c,v 1.6 2000/04/06 02:22:59 brianp Exp $ */
/*
* 3-D gear wheels. This program is in the public domain.
}
}
-void
+static void
visible(int vis)
{
if (vis == GLUT_VISIBLE)
-/* $Id: geartrain.c,v 1.5 2000/04/05 21:36:03 brianp Exp $ */
+/* $Id: geartrain.c,v 1.6 2000/04/06 02:22:59 brianp Exp $ */
/*
* GearTrain Simulator * Version: 1.00
char Buf1[256], Buf2[256], Buf3[256], Buf4[256], Buf5[256];
-void
+static void
strset (char buf[], char ch)
{
int i;
}
-void
+static void
Clear_Buffers ()
{
strset (Buf1, 0);
}
-void
+static void
LoadTriplet (TDA A)
{
Clear_Buffers ();
}
-void
+static void
LoadReal (float *a)
{
Clear_Buffers ();
}
-void
+static void
LoadInteger (int *a)
{
Clear_Buffers ();
}
-void
+static void
LoadText (char *a)
{
Clear_Buffers ();
}
-void
+static void
getdata (char filename[])
{
int gear_count = 0, axle_count = 0, belt_count = 0, i;
}
-int
+static int
axle_find (char axle_name[])
{
int i;
}
-int
+static int
gear_find (char gear_name[])
{
int i;
}
-void
+static void
process ()
{
GLfloat x, y, z, D, dist;