Acheron
Loading...
Searching...
No Matches
quad.hpp
1#pragma once
2
3#include "agl/const.hpp"
4#include "agl/func.hpp"
5#include "types/basic.hpp"
6#include "acheron.hpp"
7
8namespace acheron::renderer {
13 float width, height;
14 Color color = Color(0xffffffff);
15 };
16
24 void QuadToMeshSystem(ecs::World& world, ecs::Entity entity);
25}
Central context for the ECS.
Definition world.hpp:20
Color struct.
Definition basic.hpp:11
Component for creating Quads to be rendered.
Definition quad.hpp:12
Color color
Color of the quad, will set the materials color.
Definition quad.hpp:14
float height
Dimensions of the quad.
Definition quad.hpp:13