Fixed some warnings, set -Wall, -Wextra

This commit is contained in:
MihailRis 2023-09-19 14:14:50 +03:00 • committed by GitHub
parent 0837f8945f
commit eaf1fa54cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 10 deletions

View file

@ -4,10 +4,7 @@
#include <vector>
#include <algorithm>
#include <GL/glew.h>
#ifndef std::string
#include <string>
#endif
#include <glm/glm.hpp>
#include <glm/ext.hpp>
@ -37,7 +34,7 @@ public:
WorldRenderer(Level* level, Assets* assets);
~WorldRenderer();
void draw(World* world, Camera* camera, bool occlusion);
void draw(Camera* camera, bool occlusion);
};