blob: 7c38ca2b9237514966be6f1106f390c7f1105a54 (
plain)
1
2
3
4
5
6
7
8
|
#include "light.h"
#include "location.h"
Light::Light(std::shared_ptr<const Illuminator> type, const Location & position) :
type {std::move(type)},
instance {this->type->instances.acquire(Renderable::commonLocationData.lock()->acquire(position))}
{
}
|