mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 19:35:57 +08:00
Fixed typo
This commit is contained in:
parent
f9c1abbd50
commit
f1c5ffddfa
@ -6274,7 +6274,7 @@ Vec3d GLCanvas3D::_mouse_to_3d(const Point& mouse_pos, float* z)
|
|||||||
Vec3d GLCanvas3D::_mouse_to_bed_3d(const Point& mouse_pos)
|
Vec3d GLCanvas3D::_mouse_to_bed_3d(const Point& mouse_pos)
|
||||||
{
|
{
|
||||||
const Linef3 ray = mouse_ray(mouse_pos);
|
const Linef3 ray = mouse_ray(mouse_pos);
|
||||||
return (std::abs(ray.unit_vector().z() < EPSILON)) ? ray.a : ray.intersect_plane(0.0);
|
return (std::abs(ray.unit_vector().z()) < EPSILON) ? ray.a : ray.intersect_plane(0.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLCanvas3D::_start_timer()
|
void GLCanvas3D::_start_timer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user