github.com/blend/go-sdk@v1.20220411.3/mathutil/constants.go (about) 1 /* 2 3 Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file. 5 6 */ 7 8 package mathutil 9 10 import "math" 11 12 const ( 13 _2pi = 2 * math.Pi 14 _d2r = (math.Pi / 180.0) 15 _r2d = (180.0 / math.Pi) 16 17 // Epsilon represents the minimum amount of relevant delta we care about. 18 Epsilon = 0.00000001 19 )