6#include "hellfire/graphics/Vertex.h"
14 using EntityID = uint32_t;
27 static EntityID
create(
Scene* scene,
const std::string& name,
const Config& config);
29 static void get_cube_data(std::vector<Vertex>& vertices, std::vector<
unsigned int>& indices,
30 const glm::vec3& color =
glm::
vec3(1.0f));
static void get_cube_data(std::vector< Vertex > &vertices, std::vector< unsigned int > &indices, const glm::vec3 &color=glm::vec3(1.0f))
static const std::vector< unsigned int > indices_
static EntityID create(Scene *scene, const std::string &name, const Config &config)
static const std::vector< float > vertices_
static const std::vector< float > uvs_
static std::shared_ptr< Mesh > create_mesh()
TransformComponent * transform()
Manages a collection of entities and their hierarchical relationships.
Entity * get_entity(EntityID id)
Retrieves an entity by its ID.
EntityID create_entity(const std::string &name="GameObject")
Creates a new entity in the scene.
std::shared_ptr< Material > material