diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp index 8722f1af..adafccac 100644 --- a/src/graphics/engine/engine.cpp +++ b/src/graphics/engine/engine.cpp @@ -3639,7 +3639,8 @@ void CEngine::RenderDebugSphere(const Math::Sphere& sphere, const Math::Matrix& static constexpr int NUM_LINE_STRIPS = 2 + LONGITUDE_DIVISIONS + LATITUDE_DIVISIONS; static constexpr int VERTS_IN_LINE_STRIP = 32; - static std::array verticesTemplate = []{ + static std::array verticesTemplate = [] + { std::array vertices; auto SpherePoint = [&](float latitude, float longitude) diff --git a/src/graphics/engine/engine.h b/src/graphics/engine/engine.h index f7f4db49..ed279fbe 100644 --- a/src/graphics/engine/engine.h +++ b/src/graphics/engine/engine.h @@ -1406,7 +1406,7 @@ protected: Texture m_shadowMap; - struct + struct PendingDebugDraw { std::vector vertices; std::vector firsts;