#include <collision.h>
◆ Stats
◆ Flag
Enumerator |
---|
CHECK | |
RESOLVE | |
MAX_COLLIDERS_UPDATED | |
MAX_COLLISIONS_UPDATED | |
◆ Colliders() [1/3]
◆ Colliders() [2/3]
◆ Colliders() [3/3]
nngn::Colliders::Colliders |
( |
void | | ) |
|
◆ ~Colliders()
nngn::Colliders::~Colliders |
( |
void | | ) |
|
◆ aabb()
auto & nngn::Colliders::aabb |
( |
void | | ) |
const |
|
inline |
◆ add() [1/5]
◆ add() [2/5]
◆ add() [3/5]
◆ add() [4/5]
◆ add() [5/5]
◆ bb()
auto & nngn::Colliders::bb |
( |
void | | ) |
const |
|
inline |
◆ check()
bool nngn::Colliders::check |
( |
void | | ) |
const |
|
inline |
◆ check_collisions()
◆ clear()
void nngn::Colliders::clear |
( |
void | | ) |
|
◆ collisions()
auto & nngn::Colliders::collisions |
( |
void | | ) |
const |
|
inline |
◆ compute_backend()
auto nngn::Colliders::compute_backend |
( |
Compute * | c | ) |
|
|
static |
◆ gravity()
auto & nngn::Colliders::gravity |
( |
void | | ) |
const |
|
inline |
◆ has_backend()
bool nngn::Colliders::has_backend |
( |
void | | ) |
const |
|
inline |
◆ load()
◆ lua_on_collision()
◆ max_colliders()
std::size_t nngn::Colliders::max_colliders |
( |
void | | ) |
const |
|
inline |
◆ max_collisions()
std::size_t nngn::Colliders::max_collisions |
( |
void | | ) |
const |
|
inline |
◆ native_backend()
auto nngn::Colliders::native_backend |
( |
| ) |
|
|
static |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ plane()
auto & nngn::Colliders::plane |
( |
void | | ) |
const |
|
inline |
◆ remove()
void nngn::Colliders::remove |
( |
Collider * | p | ) |
|
◆ resolve()
bool nngn::Colliders::resolve |
( |
void | | ) |
const |
|
inline |
◆ resolve_collisions()
void nngn::Colliders::resolve_collisions |
( |
void | | ) |
const |
◆ set_backend()
bool nngn::Colliders::set_backend |
( |
std::unique_ptr< Backend > | p | ) |
|
◆ set_check()
void nngn::Colliders::set_check |
( |
bool | b | ) |
|
|
inline |
◆ set_max_colliders()
bool nngn::Colliders::set_max_colliders |
( |
std::size_t | n | ) |
|
◆ set_max_collisions()
bool nngn::Colliders::set_max_collisions |
( |
std::size_t | n | ) |
|
◆ set_resolve()
void nngn::Colliders::set_resolve |
( |
bool | b | ) |
|
|
inline |
◆ sphere()
auto & nngn::Colliders::sphere |
( |
void | | ) |
const |
|
inline |
◆ backend
std::unique_ptr<Backend> nngn::Colliders::backend = {} |
|
private |
◆ input
◆ m_flags
Flags<Flag> nngn::Colliders::m_flags = {static_cast<Flag>(Flag::CHECK | Flag::RESOLVE)} |
|
private |
◆ m_max_colliders
std::size_t nngn::Colliders::m_max_colliders = 0 |
|
private |
◆ output
◆ STATS_IDX
std::size_t nngn::Colliders::STATS_IDX = 1 |
|
staticconstexpr |
The documentation for this struct was generated from the following files: