summaryrefslogtreecommitdiffstats
path: root/src/glu/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-12-15 12:59:52 +0000
committerBrian Paul <[email protected]>1999-12-15 12:59:52 +0000
commit6625fc53e04db4f3460c97afc20b5621a9130f33 (patch)
tree0e6cb9ad5fd8549c56e087eed849d4f5d699a52a /src/glu/mesa
parent73ee3ef749ffc6e595b9a29feddc4735c68e04c8 (diff)
replaced 0 with 0.0 in sin, cos calls
Diffstat (limited to 'src/glu/mesa')
-rw-r--r--src/glu/mesa/quadric.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/glu/mesa/quadric.c b/src/glu/mesa/quadric.c
index e1ab664810b..0ec553a37c7 100644
--- a/src/glu/mesa/quadric.c
+++ b/src/glu/mesa/quadric.c
@@ -1,4 +1,4 @@
-/* $Id: quadric.c,v 1.3 1999/11/11 09:55:39 joukj Exp $ */
+/* $Id: quadric.c,v 1.4 1999/12/15 12:59:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -23,6 +23,9 @@
/*
* $Log: quadric.c,v $
+ * Revision 1.4 1999/12/15 12:59:52 brianp
+ * replaced 0 with 0.0 in sin, cos calls
+ *
* Revision 1.3 1999/11/11 09:55:39 joukj
*
* tess_macro.h included
@@ -392,8 +395,8 @@ void GLAPIENTRY gluCylinder( GLUquadricObj *qobj,
for (i=0;i<=slices;i++) {
GLfloat x, y;
if (i == slices) {
- x = sin(0);
- y = cos(0);
+ x = sin(0.0);
+ y = cos(0.0);
}
else {
x = sin(i * da);