changeset 824:221e64cb0c82

Removed dead code.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 27 Sep 2018 21:27:07 +0200
parents d7ae7338872d
children a5452a001b46
files pkg/octree/vertex.go
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/octree/vertex.go	Thu Sep 27 19:26:38 2018 +0200
+++ b/pkg/octree/vertex.go	Thu Sep 27 21:27:07 2018 +0200
@@ -427,10 +427,6 @@
 
 func onPlane(x float64) bool { return math.Abs(x) < epsPlane }
 
-func dist(x1, y1, x2, y2 float64) float64 {
-	return math.Sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2))
-}
-
 func relative(v1, v2 Vertex) func(x, y float64) float64 {
 	ls := linearScale(v1.X, v1.Y, v2.X, v2.Y)
 	return func(x, y float64) float64 {