Skip to content
Snippets Groups Projects
Commit 2fbbdef2 authored by Kutscher's avatar Kutscher
Browse files

fix 7 for merge request

parent b2d750e9
No related branches found
No related tags found
2 merge requests!193Changing LBMReal to real; Changing double and float to real; Changing using constants from UbMath.h to NumericConstants.h,!191Changing LBMReal to real; Changing double and float to real; Changing using constants from UbMath.h to NumericConstants.h
......@@ -243,6 +243,11 @@ static constexpr double c2Pi = 6.2831853071f;
static constexpr float cPio180 = 1.74532925199e-2f;
static constexpr float c180oPi = 57.2957795131f;
static const float one_over_sqrt2 = 1.0 / sqrtf(2.0); // 0.707106781
static const float one_over_sqrt3 = 1.0 / sqrtf(3.0); // 0.577350269
static const float sqrt2 = sqrtf(2.0); // 1.4142135
static const float sqrt3 = sqrtf(3.0); // 1.7320508
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment