summaryrefslogtreecommitdiffstats
path: root/game/shared/ray_dda.hh
diff options
context:
space:
mode:
Diffstat (limited to 'game/shared/ray_dda.hh')
-rw-r--r--game/shared/ray_dda.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/game/shared/ray_dda.hh b/game/shared/ray_dda.hh
index 9b4374e..5378680 100644
--- a/game/shared/ray_dda.hh
+++ b/game/shared/ray_dda.hh
@@ -9,16 +9,16 @@ class Dimension;
class RayDDA final {
public:
explicit RayDDA(void) = default;
- explicit RayDDA(const Dimension *dimension, const chunk_pos &start_chunk, const glm::fvec3 &start_fpos, const glm::fvec3 &direction);
- explicit RayDDA(const Dimension &dimension, const chunk_pos &start_chunk, const glm::fvec3 &start_fpos, const glm::fvec3 &direction);
+ explicit RayDDA(const Dimension* dimension, const chunk_pos& start_chunk, const glm::fvec3& start_fpos, const glm::fvec3& direction);
+ explicit RayDDA(const Dimension& dimension, const chunk_pos& start_chunk, const glm::fvec3& start_fpos, const glm::fvec3& direction);
- void reset(const Dimension *dimension, const chunk_pos &start_chunk, const glm::fvec3 &start_fpos, const glm::fvec3 &direction);
- void reset(const Dimension &dimension, const chunk_pos &start_chunk, const glm::fvec3 &start_fpos, const glm::fvec3 &direction);
+ void reset(const Dimension* dimension, const chunk_pos& start_chunk, const glm::fvec3& start_fpos, const glm::fvec3& direction);
+ void reset(const Dimension& dimension, const chunk_pos& start_chunk, const glm::fvec3& start_fpos, const glm::fvec3& direction);
voxel_id step(void);
public:
- const Dimension *dimension;
+ const Dimension* dimension;
chunk_pos start_chunk;
glm::fvec3 start_fpos;
glm::fvec3 direction;