Antkeeper
0.0.1
|
Commands which operate on entity::id components. More...
Functions | |
void | translate (entity::registry ®istry, entity::id eid, const math::fvec3 &translation) |
void | rotate (entity::registry ®istry, entity::id eid, float angle, const math::fvec3 &axis) |
void | move_to (entity::registry ®istry, entity::id eid, const math::fvec3 &position) |
void | warp_to (entity::registry ®istry, entity::id eid, const math::fvec3 &position) |
void | set_scale (entity::registry ®istry, entity::id eid, const math::fvec3 &scale) |
void | set_transform (entity::registry ®istry, entity::id eid, const math::transform< float > &transform) |
void | place (entity::registry ®istry, entity::id eid, entity::id celestial_body_id, double altitude, double latitude, double longitude) |
void | assign_render_layers (entity::registry ®istry, entity::id eid, std::uint8_t layer_mask) |
math::transform< float > | get_local_transform (entity::registry ®istry, entity::id eid) |
math::transform< float > | get_world_transform (entity::registry ®istry, entity::id eid) |
void | assign_render_layers (entity::registry ®istry, entity::id eid, unsigned int layers) |
Commands which operate on entity::id components.
void command::assign_render_layers | ( | entity::registry & | registry, |
entity::id | eid, | ||
std::uint8_t | layer_mask | ||
) |
Definition at line 131 of file commands.cpp.
void command::assign_render_layers | ( | entity::registry & | registry, |
entity::id | eid, | ||
unsigned int | layers | ||
) |
math::transform< float > command::get_local_transform | ( | entity::registry & | registry, |
entity::id | eid | ||
) |
Definition at line 147 of file commands.cpp.
math::transform< float > command::get_world_transform | ( | entity::registry & | registry, |
entity::id | eid | ||
) |
Definition at line 158 of file commands.cpp.
void command::move_to | ( | entity::registry & | registry, |
entity::id | eid, | ||
const math::fvec3 & | position | ||
) |
Definition at line 62 of file commands.cpp.
void command::place | ( | entity::registry & | registry, |
entity::id | eid, | ||
entity::id | celestial_body_id, | ||
double | altitude, | ||
double | latitude, | ||
double | longitude | ||
) |
Definition at line 126 of file commands.cpp.
void command::rotate | ( | entity::registry & | registry, |
entity::id | eid, | ||
float | angle, | ||
const math::fvec3 & | axis | ||
) |
Definition at line 46 of file commands.cpp.
void command::set_scale | ( | entity::registry & | registry, |
entity::id | eid, | ||
const math::fvec3 & | scale | ||
) |
Definition at line 94 of file commands.cpp.
void command::set_transform | ( | entity::registry & | registry, |
entity::id | eid, | ||
const math::transform< float > & | transform | ||
) |
Definition at line 110 of file commands.cpp.
void command::translate | ( | entity::registry & | registry, |
entity::id | eid, | ||
const math::fvec3 & | translation | ||
) |
Definition at line 30 of file commands.cpp.
void command::warp_to | ( | entity::registry & | registry, |
entity::id | eid, | ||
const math::fvec3 & | position | ||
) |
Definition at line 78 of file commands.cpp.