From 1425c6def156840b359b90b4f32b9c7b8f005731 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Wed, 21 Jun 2017 11:51:29 +0200 Subject: Cpp11 initializers: last src root changeset (#6022) * Cpp11 initializers: last src root changeset Finish to migrate all src root folder files to C++11 constructor initializers --- src/voxelalgorithms.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/voxelalgorithms.h') diff --git a/src/voxelalgorithms.h b/src/voxelalgorithms.h index 699624612..6e5fd5253 100644 --- a/src/voxelalgorithms.h +++ b/src/voxelalgorithms.h @@ -123,17 +123,17 @@ public: * which multiplying the line's vector gives a vector that ends * on the intersection of two nodes. */ - v3f m_next_intersection_multi; + v3f m_next_intersection_multi = v3f(10000.0f, 10000.0f, 10000.0f); /*! * Each component stores the smallest positive number, by which * m_next_intersection_multi's components can be increased. */ - v3f m_intersection_multi_inc; + v3f m_intersection_multi_inc = v3f(10000.0f, 10000.0f, 10000.0f); /*! * Direction of the line. Each component can be -1 or 1 (if a * component of the line's vector is 0, then there will be 1). */ - v3s16 m_step_directions; + v3s16 m_step_directions = v3s16(1, 1, 1); //! Position of the current node. v3s16 m_current_node_pos; //! If true, the next node will intersect the line, too. -- cgit v1.2.3