14 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
21 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
35 [&](
auto e,
auto&& transform,
auto&&
camera)
37 camera.update(transform.get_transform_global());
44 for(
auto e : entities)
49 camera_comp->update(transform_comp.get_transform_global());
Class that contains core camera data, used for rendering and other purposes.
auto deinit(rtti::context &ctx) -> bool
void on_frame_before_render(scene &scn, delta_t dt)
void on_play_begin(hpp::span< const entt::handle > entities, delta_t dt)
void on_frame_update(scene &scn, delta_t dt)
auto init(rtti::context &ctx) -> bool
Class representing a camera. Contains functionality for manipulating and updating a camera....
std::chrono::duration< float > delta_t
#define APPLOG_TRACE(...)
Represents a scene in the ACE framework, managing entities and their relationships.
std::unique_ptr< entt::registry > registry
The registry that manages all entities in the scene.