|
nngn
|
#include "entity.h"#include <algorithm>#include <functional>#include <random>#include "../../src/entity.h"#include "timing/timing.h"
Namespaces | |
| namespace | anonymous_namespace{entity.cpp} |
Functions | |
| template<typename ... Ts> | |
| Entities | anonymous_namespace{entity.cpp}::gen_entities (Ts &&...fs) |
| void | anonymous_namespace{entity.cpp}::remove_rnd (Entities *es) |
| void | anonymous_namespace{entity.cpp}::rnd_pos (Entity *e) |
| bool | anonymous_namespace{entity.cpp}::check_alive (const Entities &es) |
Variables | |
| constexpr std::size_t | N = 1u << 20 |
| constexpr std::size_t | N_HOLES = 1u << 10 |
| auto | anonymous_namespace{entity.cpp}::gen = std::mt19937{std::random_device{}()} |
| auto | anonymous_namespace{entity.cpp}::dist = std::uniform_real_distribution<float>{} |
|
constexpr |
|
constexpr |