From 2fb91c2d2aeba722dd48477a2e3b62445e1f9a81 Mon Sep 17 00:00:00 2001 From: Steve Traugott Date: Tue, 24 Nov 2020 13:54:09 -0800 Subject: [PATCH] cams.go: remove redundant code after ThreeArcCam2D() call - see conversation in #27 --- sdf/cams.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdf/cams.go b/sdf/cams.go index 73f14de56..f10ecacea 100644 --- a/sdf/cams.go +++ b/sdf/cams.go @@ -255,11 +255,7 @@ func MakeThreeArcCam( // distance between base and nose circles distance := baseRadius + lift - noseRadius - tac2d, err := ThreeArcCam2D(distance, baseRadius, noseRadius, flankRadius) - if err != nil { - return nil, err - } - return tac2d, nil + return ThreeArcCam2D(distance, baseRadius, noseRadius, flankRadius) } //-----------------------------------------------------------------------------