Skip to content

Commit

Permalink
cams.go: remove redundant code after ThreeArcCam2D() call
Browse files Browse the repository at this point in the history
- see conversation in #27
  • Loading branch information
stevegt committed Nov 24, 2020
1 parent 9d211c8 commit 2fb91c2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sdf/cams.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

//-----------------------------------------------------------------------------
Expand Down

0 comments on commit 2fb91c2

Please sign in to comment.