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

View file

@ -1,4 +1,4 @@
#include "Hitbox.h"
#include "Hitbox.hpp"
Hitbox::Hitbox(glm::vec3 position, glm::vec3 halfsize)
: position(position),

View file

@ -1,5 +1,5 @@
#ifndef PHYSICS_HITBOX_H_
#define PHYSICS_HITBOX_H_
#ifndef PHYSICS_HITBOX_HPP_
#define PHYSICS_HITBOX_HPP_
#include <glm/glm.hpp>
@ -14,4 +14,4 @@ public:
Hitbox(glm::vec3 position, glm::vec3 halfsize);
};
#endif /* PHYSICS_HITBOX_H_ */
#endif /* PHYSICS_HITBOX_HPP_ */

View file

@ -1,10 +1,10 @@
#include "PhysicsSolver.h"
#include "Hitbox.h"
#include "PhysicsSolver.hpp"
#include "Hitbox.hpp"
#include "../maths/aabb.h"
#include "../voxels/Block.h"
#include "../voxels/Chunks.h"
#include "../voxels/voxel.h"
#include "../maths/aabb.hpp"
#include "../voxels/Block.hpp"
#include "../voxels/Chunks.hpp"
#include "../voxels/voxel.hpp"
const double E = 0.03;
const double MAX_FIX = 0.1;

View file

@ -1,9 +1,9 @@
#ifndef PHYSICS_PHYSICSSOLVER_H_
#define PHYSICS_PHYSICSSOLVER_H_
#ifndef PHYSICS_PHYSICSSOLVER_HPP_
#define PHYSICS_PHYSICSSOLVER_HPP_
#include <glm/glm.hpp>
#include "../typedefs.h"
#include "../voxels/Block.h"
#include "../typedefs.hpp"
#include "../voxels/Block.hpp"
class Hitbox;
class Chunks;
@ -30,4 +30,4 @@ public:
bool isBlockInside(int x, int y, int z, Block* def, blockstate_t states, Hitbox* hitbox);
};
#endif /* PHYSICS_PHYSICSSOLVER_H_ */
#endif /* PHYSICS_PHYSICSSOLVER_HPP_ */