refactor: change pointer parameters to references for Level and Content in various classes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user