mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[drape] Fix sqrt constexpr
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -11,8 +11,8 @@ namespace df
|
||||
namespace
|
||||
{
|
||||
double constexpr kValidPathSplineTurn = 15 * math::pi / 180;
|
||||
double constexpr kCosTurn = cos(kValidPathSplineTurn);
|
||||
double constexpr kSinTurn = sin(kValidPathSplineTurn);
|
||||
double constexpr kCosTurn = 0.999989561; // cos(kValidPathSplineTurn)
|
||||
double constexpr kSinTurn = 0.004569245; // sin(kValidPathSplineTurn)
|
||||
double constexpr kRoundStep = 23;
|
||||
int constexpr kMaxStepsCount = 7;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user