mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
the final rename
This commit is contained in:
parent
f27a418dbe
commit
1627e21c1d
196 changed files with 836 additions and 815 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "Hitbox.h"
|
||||
#include "Hitbox.hpp"
|
||||
|
||||
Hitbox::Hitbox(glm::vec3 position, glm::vec3 halfsize)
|
||||
: position(position),
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue