Fix code style in #1150
parent
c445d7d9a9
commit
38a34829af
|
@ -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 NUM_LINE_STRIPS = 2 + LONGITUDE_DIVISIONS + LATITUDE_DIVISIONS;
|
||||||
static constexpr int VERTS_IN_LINE_STRIP = 32;
|
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;
|
std::array<Math::Vector, NUM_LINE_STRIPS * VERTS_IN_LINE_STRIP> vertices;
|
||||||
|
|
||||||
auto SpherePoint = [&](float latitude, float longitude)
|
auto SpherePoint = [&](float latitude, float longitude)
|
||||||
|
|
|
@ -1406,7 +1406,7 @@ protected:
|
||||||
|
|
||||||
Texture m_shadowMap;
|
Texture m_shadowMap;
|
||||||
|
|
||||||
struct
|
struct PendingDebugDraw
|
||||||
{
|
{
|
||||||
std::vector<VertexCol> vertices;
|
std::vector<VertexCol> vertices;
|
||||||
std::vector<int> firsts;
|
std::vector<int> firsts;
|
||||||
|
|
Loading…
Reference in New Issue