fix warning
All checks were successful
Linux arm64 / Build (push) Successful in 4m42s

This commit is contained in:
2024-03-21 17:14:43 +01:00
parent bbb5c4dbe5
commit f276dd55ea
2 changed files with 2 additions and 2 deletions

View File

@@ -30,10 +30,10 @@ class MainRenderer : public GuiListener, public game::PlayerInputListener {
std::unique_ptr<shader::WorldShader> m_WorldShader;
std::unique_ptr<shader::GunShader> m_GunShader;
input::PlayerController m_PlayerController;
BulletRenderer m_BulletRenderer;
unsigned int m_Texture;
float m_ShootTime;
Camera m_Camera;
BulletRenderer m_BulletRenderer;
public:
MainRenderer(Client* client);

View File

@@ -25,7 +25,7 @@ static const Vec4f SkyColor = {0.6, 0.8, 1, 1};
static const Vec4f MenuColor = {0, 0, 0, 0};
MainRenderer::MainRenderer(Client* client) :
m_Client(client), m_PlayerController(m_Client), m_BulletRenderer(m_Camera), m_ShootTime(0) {
m_Client(client), m_PlayerController(m_Client), m_ShootTime(0), m_BulletRenderer(m_Camera) {
LoadModels();