Skip to content
Snippets Groups Projects
Commit 9633e940 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

cleanup more warnings

parent 129d6cf6
No related branches found
No related tags found
No related merge requests found
Pipeline #3650 passed
......@@ -13,7 +13,6 @@
*/
#include <cstdlib>
#include <memory>
#include <spdlog/spdlog.h>
#include <fggl/app.hpp>
......
......@@ -30,7 +30,6 @@
#include "fggl/assets/types.hpp"
#include "fggl/assets/manager.hpp"
#include "fggl/data/storage.hpp"
#include "../../stb/stb_vorbis.h"
namespace fggl::audio::openal {
......
......@@ -17,9 +17,7 @@
#include <fggl/data/model.hpp>
#include <glm/ext/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>
#include <iostream>
#include <array>
#include <glm/geometric.hpp>
......
......@@ -14,10 +14,8 @@
#include <fggl/gfx/atlas.hpp>
#include <fggl/math/types.hpp>
#include <array>
#include <vector>
#include <string>
#define STBRP_STATIC
#define STB_RECT_PACK_IMPLEMENTATION
......
......@@ -13,10 +13,6 @@
*/
#include <fggl/gfx/input.hpp>
#include <cassert>
#include <bitset>
#include <iostream>
using fggl::gfx::Input;
......
......@@ -153,7 +153,7 @@ namespace fggl::gfx {
static ogl::Image make_solid(uint8_t width, uint8_t height, GLuint colour) {
GLuint *texData = new GLuint[width * height];
auto *texData = new GLuint[width * height];
for (int i = 0; i < width * height; ++i) {
texData[i] = colour;
}
......
......@@ -17,6 +17,7 @@
#include "fggl/gfx/ogl4/fallback.hpp"
#include <iostream>
#include <fstream>
#include <vector>
#include <spdlog/spdlog.h>
......@@ -306,7 +307,7 @@ namespace fggl::gfx {
template<>
bool fggl::data::fggl_deserialize(std::filesystem::path &data, fggl::gfx::BinaryCache *out) {
auto f =
auto* f =
#ifdef _MSC_VER
_wfopen(data.c_str(), L"r");
#else
......@@ -347,8 +348,6 @@ namespace fggl::gfx {
return result;
}
#include <iostream>
#include <fstream>
template<>
bool fggl::data::fggl_deserialize(std::filesystem::path &data, std::string *out) {
......
......@@ -45,7 +45,7 @@ namespace fggl::input {
rotationMatrixX = glm::rotate(rotationMatrixX, xAngle, fggl::math::UP);
position = (rotationMatrixX * (position - pivot)) + pivot;
// rotate the camera aroud the pivot on the second axis
// rotate the camera around the pivot on the second axis
glm::mat4x4 rotationMatrixY(1.0f);
rotationMatrixY = glm::rotate(rotationMatrixY, yAngle, rightDir);
glm::vec3 finalPos = (rotationMatrixY * (position - pivot)) + pivot;
......
......@@ -13,7 +13,6 @@
*/
#include "fggl/math/triangulation.hpp"
#include <iostream>
namespace fggl::math {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment