Antkeeper  0.0.1
Namespaces | Functions
commands.cpp File Reference
#include "game/commands/commands.hpp"
#include "game/components/scene-component.hpp"
#include "game/components/transform-component.hpp"
#include "game/components/celestial-body-component.hpp"
#include "game/components/terrain-component.hpp"
#include <engine/math/quaternion.hpp>
#include <limits>

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, std::uint8_t layer_mask)
 
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)