Geometry: Reverte purge algorithme to previous version (modified).

This commit is contained in:
parouby committed 2025-09-11 10:01:18 +02:00
1 parent 4ba232a7e4
commit 37ea9e9083
2 files changed
+32 -34

No files matched your search

+2 -2
View File
@@ -373,8 +373,8 @@ class PointXYZ(Point):
c = PointXYZ.distance(p3, p1)
s = float((a + b + c) / 2)
res = (
s * abs(s - a) * abs(s - b) * abs(s - c)
res = abs(
s * (s - a) * (s - b) * (s - c)
) ** 0.5
return res