mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
rogueviz::flocking:: using the exports
This commit is contained in:
parent
34cb90f97c
commit
1b74522d08
@ -16,17 +16,8 @@
|
|||||||
|
|
||||||
// press 'o' when flocking active to change the parameters.
|
// press 'o' when flocking active to change the parameters.
|
||||||
|
|
||||||
namespace hr {
|
|
||||||
hyperpoint nearcorner(cell *c, int i);
|
|
||||||
extern bool showquotients;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace rogueviz {
|
namespace rogueviz {
|
||||||
|
|
||||||
inline ld atan2(hyperpoint h) {
|
|
||||||
return std::atan2(h[1], h[0]);
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace flocking {
|
namespace flocking {
|
||||||
|
|
||||||
int N;
|
int N;
|
||||||
|
Loading…
Reference in New Issue
Block a user