Make atan2_lookup inline since it is header-declared
This commit is contained in:
parent
f16b2adec7
commit
3b727dea99
@ -722,7 +722,7 @@ constexpr unsigned short atan_table[4096] = {
|
||||
// max value is pi/4
|
||||
constexpr double SCALING_FACTOR = 4. / M_PI * 0xFFFF;
|
||||
|
||||
double atan2_lookup(double y, double x)
|
||||
inline double atan2_lookup(double y, double x)
|
||||
{
|
||||
if (std::abs(x) < std::numeric_limits<double>::epsilon())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user