the final rename

This commit is contained in:
MihailRis
2024-05-06 03:38:19 +03:00
parent f27a418dbe
commit 1627e21c1d
196 changed files with 836 additions and 815 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
#ifndef MATHS_AABB_H_
#define MATHS_AABB_H_
#ifndef MATHS_AABB_HPP_
#define MATHS_AABB_HPP_
#include <glm/glm.hpp>
@@ -56,4 +56,4 @@ struct AABB {
}
};
#endif // MATHS_AABB_H_
#endif // MATHS_AABB_HPP_
@@ -1,7 +1,7 @@
#ifndef MATHS_FASTMATHS_H_
#define MATHS_FASTMATHS_H_
#ifndef MATHS_FASTMATHS_HPP_
#define MATHS_FASTMATHS_HPP_
#include "../typedefs.h"
#include "../typedefs.hpp"
class FastRandom {
uint seed;
@@ -20,4 +20,4 @@ public:
}
};
#endif // MATHS_FASTMATHS_H_
#endif // MATHS_FASTMATHS_HPP_
+2 -2
View File
@@ -1,6 +1,6 @@
#include "rays.h"
#include "aabb.h"
#include "rays.hpp"
#include "aabb.hpp"
#include "glm/glm.hpp"
+4 -5
View File
@@ -1,8 +1,7 @@
#ifndef MATHS_RAYS_H_
#define MATHS_RAYS_H_
#ifndef MATHS_RAYS_HPP_
#define MATHS_RAYS_HPP_
// #include "../typedefs.h"
#include "aabb.h"
#include "aabb.hpp"
#include "glm/glm.hpp"
#define GLM_ENABLE_EXPERIMENTAL
#include "glm/gtx/hash.hpp"
@@ -75,4 +74,4 @@ public:
scalar_t& distance_ret);
};
#endif // SRC_VOXNATHS_H_
#endif // SRC_VOXNATHS_HPP_
+3 -3
View File
@@ -1,5 +1,5 @@
#ifndef MATHS_UTIL_H_
#define MATHS_UTIL_H_
#ifndef MATHS_UTIL_HPP_
#define MATHS_UTIL_HPP_
#include <ctime>
#include <stdint.h>
@@ -46,4 +46,4 @@ public:
}
};
#endif // MATHS_UTIL_H_
#endif // MATHS_UTIL_HPP_
@@ -1,7 +1,7 @@
#ifndef SRC_VOXNATHS_H_
#define SRC_VOXNATHS_H_
#ifndef VOXNATHS_HPP_
#define VOXNATHS_HPP_
#include "../typedefs.h"
#include "../typedefs.hpp"
inline int floordiv(int a, int b) {
if (a < 0 && a % b) {
@@ -48,4 +48,4 @@ inline light_t light_pack(ubyte r, ubyte g, ubyte b, ubyte s) {
return r | (g << 4) | (b << 8) | (s << 12);
}
#endif // SRC_VOXNATHS_H_
#endif // VOXNATHS_HPP_