fix(geometry/primitive): Fix constants altered during debugging

This commit is contained in:
Mikolaj Wielgus 2025-12-01 01:32:46 +01:00
parent 5eedf3bbaf
commit 3b56eb74c9
1 changed files with 2 additions and 2 deletions

View File

@ -294,8 +294,8 @@ impl BendShape {
/// Determines if the provided point lies in the swept region between the rays cast by tangents
/// to the arc endpoints of the bend's outer circle, starting at `from` and `to`.
pub fn between_tangent_rays(&self, point: Point) -> bool {
math::perp_dot_product(point - self.from, self.from_tangent_ray()) > 0.001
&& math::perp_dot_product(point - self.to, self.to_tangent_ray()) < -0.001
math::perp_dot_product(point - self.from, self.from_tangent_ray()) > 0.0
&& math::perp_dot_product(point - self.to, self.to_tangent_ray()) < 0.0
}
pub fn from_tangent_ray(&self) -> Point {