4#include "hellfire/graphics/lighting/PointLight.h"
6#include "hellfire/scene/Scene.h"
9 EntityID
PointLight::create(
Scene *scene,
const std::string &name,
const glm::vec3 &position,
10 const glm::vec3 &color,
float intensity,
float range) {
15 light->set_color(color);
16 light->set_intensity(intensity);
17 light->set_range(range);
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.