update project includes format

This commit is contained in:
MihailRis
2024-08-10 01:37:48 +03:00
parent 6c4fb417c5
commit f43cc93cd2
233 changed files with 1028 additions and 1028 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef MATHS_FASTMATHS_HPP_
#define MATHS_FASTMATHS_HPP_
#include <typedefs.hpp>
#include "typedefs.hpp"
class FastRandom {
uint seed;
+1 -1
View File
@@ -2,7 +2,7 @@
#include "rays.hpp"
#include "aabb.hpp"
#include "glm/glm.hpp"
#include <glm/glm.hpp>
static const rayvec3 X_AXIS = rayvec3(1, 0, 0), Y_AXIS = rayvec3(0, 1, 0),
Z_AXIS = rayvec3(0, 0, 1);
+2 -2
View File
@@ -2,11 +2,11 @@
#define MATHS_RAYS_HPP_
#include "aabb.hpp"
#include "glm/glm.hpp"
#include <glm/glm.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <array>
#include "glm/gtx/hash.hpp"
#include <glm/gtx/hash.hpp>
using rayvec3 = glm::highp_dvec3;
using rayvec2 = glm::highp_dvec2;
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef VOXNATHS_HPP_
#define VOXNATHS_HPP_
#include <typedefs.hpp>
#include "typedefs.hpp"
inline int floordiv(int a, int b) {
if (a < 0 && a % b) {