From 38a34829af5b982900656b54cdfc8d80391e62e7 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Tue, 1 May 2018 21:27:49 +0200 Subject: [PATCH] Fix code style in #1150 --- src/graphics/engine/engine.cpp | 3 ++- src/graphics/engine/engine.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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;