From fb41097f2eb61e21af3a8111eaa5ca1b473cd1fa Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Sun, 3 Oct 2021 13:02:50 -0500 Subject: Fix gnu's stupidity --- dev/MinGfx/tests/gui_plus_opengl/gui_plus_opengl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/MinGfx') 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)); -- cgit v1.2.3