diff options
Diffstat (limited to 'src/voxelalgorithms.h')
-rw-r--r-- | src/voxelalgorithms.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. |