mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 22:32:55 +02:00
Remove gcc warning about uninitialized values
This commit is contained in:
1 parent
d99895805c
commit
a7255235e5
1 file changed
+1
-1
@@ -122,7 +122,7 @@ IndexedMesh::hit_result
|
|||||||
IndexedMesh::query_ray_hit(const Vec3d &s, const Vec3d &dir) const
|
IndexedMesh::query_ray_hit(const Vec3d &s, const Vec3d &dir) const
|
||||||
{
|
{
|
||||||
assert(is_approx(dir.norm(), 1.));
|
assert(is_approx(dir.norm(), 1.));
|
||||||
igl::Hit hit;
|
igl::Hit hit{-1, -1, 0.f, 0.f, 0.f};
|
||||||
hit.t = std::numeric_limits<float>::infinity();
|
hit.t = std::numeric_limits<float>::infinity();
|
||||||
|
|
||||||
#ifdef SLIC3R_HOLE_RAYCASTER
|
#ifdef SLIC3R_HOLE_RAYCASTER
|
||||||
|
|||||||
Reference in new issue
Block a user