Skip to content

Commit

Permalink
Some small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zang3th committed Apr 13, 2024
1 parent c8352a2 commit 2a88d2c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Engine/Physics/CellularAutomata/CellManager.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#pragma once

#include "CellStorage.hpp"
#include "Types.hpp"
#include "GlobalParams.hpp"
#include "RenderManager.hpp"
#include "Random.hpp"

namespace Engine
{
Expand Down
7 changes: 4 additions & 3 deletions Engine/Rendering/Renderables/CellStorage.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
#pragma once

#include "Types.hpp"
#include "GlobalParams.hpp"

#include <string>
#include <vector>

namespace Engine
{
struct Cell
{
uint8 spreadFactor;
CellType type;
uint8 spreadFactor = 0;
CellType type = CellType::Air;
uint32 id = UINT32_MAX;
bool movedLastTurn = false;
};
Expand Down
2 changes: 0 additions & 2 deletions Engine/Rendering/Renderer/CellRenderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
#include "GlobalParams.hpp"
#include "glm.hpp"
#include "Shader.hpp"
#include "Camera3D.hpp"
#include "VertexArray.hpp"
#include "VertexBuffer.hpp"
#include "SceneRenderer.hpp"
#include "VerticeData.hpp"

#include <array>

Expand Down

0 comments on commit 2a88d2c

Please sign in to comment.