#include "light.h" #include "location.h" Light::Light(std::shared_ptr type, const Location & position) : type {std::move(type)}, location {this->type->instances.acquire(position.getRotationTransform(), position.pos)} { }