nngn
|
#include <colliders.h>
Public Member Functions | |
PlaneCollider ()=default | |
PlaneCollider (vec3 p, vec4 v) | |
void | load (nngn::lua::table_view t) |
Public Member Functions inherited from nngn::Collider | |
Collider ()=default | |
Collider (vec3 p) | |
Collider (vec3 p, float p_m) | |
void | load (nngn::lua::table_view t) |
Static Public Member Functions | |
static void | update (std::span< PlaneCollider > s) |
Public Attributes | |
vec4 | abcd = {} |
Public Attributes inherited from nngn::Collider | |
Entity * | entity = nullptr |
vec3 | pos = {} |
vec3 | vel = {} |
float | m = {} |
Flags< Flag > | flags = {} |
Additional Inherited Members | |
Public Types inherited from nngn::Collider | |
enum | Type : u8 { NONE , AABB , BB , SPHERE , PLANE , GRAVITY , N_TYPES } |
enum | Flag : u8 { COLLIDING = 1 << 0 , TRIGGER = 1 << 1 , SOLID = 1 << 2 } |
|
default |
void nngn::PlaneCollider::load | ( | nngn::lua::table_view | t | ) |
|
static |
vec4 nngn::PlaneCollider::abcd = {} |