removed unused function angle_is_northern
This commit is contained in:
parent
d75611e919
commit
294c479672
2 changed files with 0 additions and 7 deletions
|
@ -1692,12 +1692,6 @@ const std::string& get_direction(size_t n)
|
|||
|
||||
}
|
||||
|
||||
bool angle_is_northern(size_t n)
|
||||
{
|
||||
static bool const results[6] = { true, false, false, false, false, true };
|
||||
return results[n >= sizeof(results)/sizeof(*results) ? 0 : n];
|
||||
}
|
||||
|
||||
const std::string& get_angle_direction(size_t n)
|
||||
{
|
||||
static std::string const dirs[6] = { "-ne", "-e", "-se", "-sw", "-w", "-nw" };
|
||||
|
|
|
@ -569,7 +569,6 @@ private:
|
|||
int fps_handle_;
|
||||
};
|
||||
|
||||
bool angle_is_northern(size_t n);
|
||||
const std::string& get_angle_direction(size_t n);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue