Fix code style in #1150

1008-fix
krzys-h 2018-05-01 21:27:49 +02:00
parent c445d7d9a9
commit 38a34829af
2 changed files with 3 additions and 2 deletions

View File

@ -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<Math::Vector, NUM_LINE_STRIPS * VERTS_IN_LINE_STRIP> verticesTemplate = []{
static std::array<Math::Vector, NUM_LINE_STRIPS * VERTS_IN_LINE_STRIP> verticesTemplate = []
{
std::array<Math::Vector, NUM_LINE_STRIPS * VERTS_IN_LINE_STRIP> vertices;
auto SpherePoint = [&](float latitude, float longitude)

View File

@ -1406,7 +1406,7 @@ protected:
Texture m_shadowMap;
struct
struct PendingDebugDraw
{
std::vector<VertexCol> vertices;
std::vector<int> firsts;