diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-21 19:15:22 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-02-21 19:15:39 +0100 |
| commit | e387dbd30c81d27e67a33a580578ea846ff25250 (patch) | |
| tree | ee66686a426d0f0e8cbcf635b78e9f52a14f2052 /src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx | |
| parent | 842cbf0f1023f798362ab77aef34da23a24490b7 (diff) | |
Remove VS compilation warning messages about implicit type conversions.
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx')
| -rw-r--r-- | src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_vertex.cxx | 2 |
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; |
