Browse Source

#include <> should only be used for system directories

master
Riyyi 4 years ago
parent
commit
217502d45c
  1. 2
      inferno/src/inferno/input.cpp
  2. 2
      inferno/src/inferno/inputcodes.cpp
  3. 2
      inferno/src/inferno/render/buffer.cpp
  4. 4
      inferno/src/inferno/render/context.cpp
  5. 2
      inferno/src/inferno/render/font.h
  6. 2
      inferno/src/inferno/render/renderer.cpp
  7. 4
      inferno/src/inferno/render/shader.cpp
  8. 2
      inferno/src/inferno/render/shader.h
  9. 4
      inferno/src/inferno/render/texture.cpp
  10. 2
      inferno/src/inferno/script/cameracontroller.cpp
  11. 4
      inferno/src/inferno/systems/camera.cpp
  12. 2
      inferno/src/inferno/systems/render.cpp
  13. 2
      inferno/src/inferno/systems/transform.cpp
  14. 2
      inferno/src/inferno/time.cpp
  15. 2
      inferno/src/inferno/window.cpp

2
inferno/src/inferno/input.cpp

@ -1,4 +1,4 @@
#include <GLFW/glfw3.h> #include "GLFW/glfw3.h"
#include "inferno/application.h" #include "inferno/application.h"
#include "inferno/event/mouseevent.h" #include "inferno/event/mouseevent.h"

2
inferno/src/inferno/inputcodes.cpp

@ -1,7 +1,7 @@
#include <string> // std::string #include <string> // std::string
#include <unordered_map> // std::unordered_map #include <unordered_map> // std::unordered_map
#include <GLFW/glfw3.h> #include "GLFW/glfw3.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/inputcodes.h" #include "inferno/inputcodes.h"

2
inferno/src/inferno/render/buffer.cpp

@ -1,4 +1,4 @@
#include <glad/glad.h> #include "glad/glad.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/core.h" #include "inferno/core.h"

4
inferno/src/inferno/render/context.cpp

@ -1,5 +1,5 @@
#include <glad/glad.h> #include "glad/glad.h"
#include <GLFW/glfw3.h> #include "GLFW/glfw3.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/core.h" #include "inferno/core.h"

2
inferno/src/inferno/render/font.h

@ -7,7 +7,7 @@
#include <unordered_map> // std::unordered_map #include <unordered_map> // std::unordered_map
#include <vector> // std::vector #include <vector> // std::vector
#include <glm/ext/vector_int2.hpp> // glm::ivec2 #include "glm/ext/vector_int2.hpp" // glm::ivec2
#include "inferno/log.h" #include "inferno/log.h"

2
inferno/src/inferno/render/renderer.cpp

@ -1,7 +1,7 @@
#include <algorithm> // std::min #include <algorithm> // std::min
#include <utility> // std::move #include <utility> // std::move
#include <glad/glad.h> #include "glad/glad.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/render/buffer.h" #include "inferno/render/buffer.h"

4
inferno/src/inferno/render/shader.cpp

@ -1,7 +1,7 @@
#include <vector> // std::vector #include <vector> // std::vector
#include <glad/glad.h> #include "glad/glad.h"
#include <glm/gtc/type_ptr.hpp> // glm::value_ptr #include "glm/gtc/type_ptr.hpp" // glm::value_ptr
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/core.h" #include "inferno/core.h"

2
inferno/src/inferno/render/shader.h

@ -6,7 +6,7 @@
#include <string> // std::string #include <string> // std::string
#include <unordered_map> // std::unordered_map #include <unordered_map> // std::unordered_map
#include <glm/glm.hpp> #include "glm/glm.hpp"
namespace Inferno { namespace Inferno {

4
inferno/src/inferno/render/texture.cpp

@ -1,9 +1,9 @@
#include <climits> // UINT_MAX #include <climits> // UINT_MAX
#include <memory> #include <memory>
#include <glad/glad.h> #include "glad/glad.h"
#define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h> #include "stb_image.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/render/texture.h" #include "inferno/render/texture.h"

2
inferno/src/inferno/script/cameracontroller.cpp

@ -1,4 +1,4 @@
#include <glm/ext/matrix_transform.hpp> // glm::radians #include "glm/ext/matrix_transform.hpp" // glm::radians
#include "inferno/input.h" #include "inferno/input.h"
#include "inferno/inputcodes.h" #include "inferno/inputcodes.h"

4
inferno/src/inferno/systems/camera.cpp

@ -1,5 +1,5 @@
#include <glm/ext/matrix_clip_space.hpp> // glm::perspective, glm::ortho #include "glm/ext/matrix_clip_space.hpp" // glm::perspective, glm::ortho
#include <glm/ext/matrix_transform.hpp> // glm::radians, glm::lookAt #include "glm/ext/matrix_transform.hpp" // glm::radians, glm::lookAt
#include "inferno/application.h" #include "inferno/application.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"

2
inferno/src/inferno/systems/render.cpp

@ -1,4 +1,4 @@
#include <glm/ext/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale, glm::radians #include "glm/ext/matrix_transform.hpp" // glm::translate, glm::rotate, glm::scale, glm::radians
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/log.h" #include "inferno/log.h"

2
inferno/src/inferno/systems/transform.cpp

@ -1,4 +1,4 @@
#include <glm/ext/matrix_transform.hpp> // glm::translate, glm::rotate, glm::scale, glm::radians #include "glm/ext/matrix_transform.hpp" // glm::translate, glm::rotate, glm::scale, glm::radians
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/log.h" #include "inferno/log.h"

2
inferno/src/inferno/time.cpp

@ -1,4 +1,4 @@
#include <GLFW/glfw3.h> #include "GLFW/glfw3.h"
#include "inferno/time.h" #include "inferno/time.h"

2
inferno/src/inferno/window.cpp

@ -1,4 +1,4 @@
#include <GLFW/glfw3.h> #include "GLFW/glfw3.h"
#include "inferno/assertions.h" #include "inferno/assertions.h"
#include "inferno/core.h" #include "inferno/core.h"

Loading…
Cancel
Save