mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
refactor: change pointer parameters to references for Level and Content in various classes
This commit is contained in:
parent
ef2c0b2370
commit
c1b311f3c4
41 changed files with 258 additions and 251 deletions
|
|
@ -19,14 +19,14 @@ public:
|
|||
PhysicsSolver(glm::vec3 gravity);
|
||||
void step(
|
||||
const GlobalChunks& chunks,
|
||||
Hitbox* hitbox,
|
||||
Hitbox& hitbox,
|
||||
float delta,
|
||||
uint substeps,
|
||||
entityid_t entity
|
||||
);
|
||||
void colisionCalc(
|
||||
const GlobalChunks& chunks,
|
||||
Hitbox* hitbox,
|
||||
Hitbox& hitbox,
|
||||
glm::vec3& vel,
|
||||
glm::vec3& pos,
|
||||
const glm::vec3 half,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue