mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 03:16:00 +08:00
Fixed typo in an unused template code, where MSVC does not complain,
but GCC does.
This commit is contained in:
parent
e87f90af9f
commit
ad2dfe345d
@ -71,7 +71,7 @@ struct CircleSq {
|
|||||||
bool contains_with_eps(const Vector &p, const Scalar relative_epsilon2 = Scalar((1 + 1e-14) * (1 + 1e-14))) const
|
bool contains_with_eps(const Vector &p, const Scalar relative_epsilon2 = Scalar((1 + 1e-14) * (1 + 1e-14))) const
|
||||||
{ Scalar r2 = this->radius2 * relative_epsilon2; return (p - this->center).squaredNorm() < r2; }
|
{ Scalar r2 = this->radius2 * relative_epsilon2; return (p - this->center).squaredNorm() < r2; }
|
||||||
|
|
||||||
static CircleSq make_invalid() { return Circle { { 0, 0 }, -1 }; }
|
static CircleSq make_invalid() { return CircleSq { { 0, 0 }, -1 }; }
|
||||||
};
|
};
|
||||||
|
|
||||||
// 2D circle defined by its center and radius
|
// 2D circle defined by its center and radius
|
||||||
|
Loading…
x
Reference in New Issue
Block a user