Commit 522e650c authored by Boris Mühmer's avatar Boris Mühmer
Browse files

replace manual compare with function from mgl package

parent 0b90a242
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ func Subdivide(icoIn *Icosahedron) (*Icosahedron, error) {
			im := -1
			match := false
			for vj, vo := range vso {
				if (vn.X() == vo.X()) && (vn.Y() == vo.Y()) && (vn.Z() == vo.Z()) {
				if vn.ApproxEqual(vo) {
					// found a match
					im = vj
					match = true