Antkeeper  0.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Functions
commands.hpp File Reference
#include <engine/entity/id.hpp>
#include <engine/entity/registry.hpp>
#include <engine/math/vector.hpp>
#include <engine/math/transform.hpp>

Go to the source code of this file.

Namespaces

 command
 Commands which operate on entity::id components.
 

Functions

void command::translate (entity::registry &registry, entity::id eid, const math::fvec3 &translation)
 
void command::rotate (entity::registry &registry, entity::id eid, float angle, const math::fvec3 &axis)
 
void command::move_to (entity::registry &registry, entity::id eid, const math::fvec3 &position)
 
void command::warp_to (entity::registry &registry, entity::id eid, const math::fvec3 &position)
 
void command::set_scale (entity::registry &registry, entity::id eid, const math::fvec3 &scale)
 
void command::set_transform (entity::registry &registry, entity::id eid, const math::transform< float > &transform)
 
void command::place (entity::registry &registry, entity::id eid, entity::id celestial_body_id, double altitude, double latitude, double longitude)
 
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)
 
math::transform< float > command::get_world_transform (entity::registry &registry, entity::id eid)