nngn
|
Functions | |
std::ptrdiff_t | offset (const Entities &es, const Entity &e) |
name (Entities *es, Entity *e) | |
tag (Entities *es, Entity *e) | |
name_hash (Entities *es, Entity *e) | |
tag_hash (Entities *es, Entity *e) | |
void | copy (std::span< char, 32 > v, nngn::Hash *h, std::string_view s) |
void | set_pos (Entity *e, vec3 oldp, vec3 p) |
template<typename ... Ts> | |
Entities | gen_entities (Ts &&...fs) |
void | remove_rnd (Entities *es) |
void | rnd_pos (Entity *e) |
bool | check_alive (const Entities &es) |
Variables | |
auto | gen = std::mt19937{std::random_device{}()} |
auto | dist = std::uniform_real_distribution<float>{} |
void anonymous_namespace{entity.cpp}::copy | ( | std::span< char, 32 > | v, |
nngn::Hash * | h, | ||
std::string_view | s ) |
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 | ) |
auto anonymous_namespace{entity.cpp}::dist = std::uniform_real_distribution<float>{} |
auto anonymous_namespace{entity.cpp}::gen = std::mt19937{std::random_device{}()} |