summaryrefslogtreecommitdiff
path: root/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
index 0a627bea6..0a92a9b2f 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx
@@ -108,7 +108,7 @@ void Fl_OpenGL_Graphics_Driver::circle(double cx, double cy, double r) {
int num_segments = (int)(10 * sqrt(rMax))+1;
double theta = 2 * M_PI / float(num_segments);
double tangetial_factor = tan(theta);
- double radial_factor = cosf(theta);//calculate the radial factor
+ double radial_factor = cos(theta);//calculate the radial factor
double x = r; //we start at angle = 0
double y = 0;