aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2021-10-03 13:02:50 -0500
committerMatt Strapp <matt@mattstrapp.net>2021-10-03 13:02:50 -0500
commitfb41097f2eb61e21af3a8111eaa5ca1b473cd1fa (patch)
tree565ade88a1eef837bf78c45c8c4e04817ec589d6
parentdo ws2 (diff)
downloadcsci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.tar
csci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.tar.gz
csci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.tar.bz2
csci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.tar.lz
csci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.tar.xz
csci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.tar.zst
csci4611-fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa.zip
Fix gnu's stupidity
-rw-r--r--dev/MinGfx/tests/gui_plus_opengl/gui_plus_opengl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/MinGfx/tests/gui_plus_opengl/gui_plus_opengl.cc b/dev/MinGfx/tests/gui_plus_opengl/gui_plus_opengl.cc
index b6dedf7..eda9fac 100644
--- a/dev/MinGfx/tests/gui_plus_opengl/gui_plus_opengl.cc
+++ b/dev/MinGfx/tests/gui_plus_opengl/gui_plus_opengl.cc
@@ -216,14 +216,14 @@ void GuiPlusOpenGL::DrawUsingNanoVG(NVGcontext *ctx) {
// example of drawing some circles
nvgBeginPath(ctx);
- nvgCircle(ctx, 512.0f+50.0f*std::cosf((float)simTime_), 350.0f+200.0f*std::sinf((float)simTime_), 50.0f);
+ nvgCircle(ctx, 512.0f+50.0f*std::cos((float)simTime_), 350.0f+200.0f*std::sin((float)simTime_), 50.0f);
nvgFillColor(ctx, nvgRGBA(100,100,255,200));
nvgFill(ctx);
nvgStrokeColor(ctx, nvgRGBA(0,0,0,255));
nvgStroke(ctx);
nvgBeginPath(ctx);
- nvgCircle(ctx, 512.0f+200.0f*std::cosf((float)simTime_), 350.0f+50.0f*std::sinf((float)simTime_), 50.0f);
+ nvgCircle(ctx, 512.0f+200.0f*std::cos((float)simTime_), 350.0f+50.0f*std::sin((float)simTime_), 50.0f);
nvgFillColor(ctx, nvgRGBA(255,100,100,200));
nvgFill(ctx);
nvgStrokeColor(ctx, nvgRGBA(0,0,0,255));