blob: 6207497781b688fa3da65a96177f5a5eb9728b5b (
plain)
1
2
3
4
5
6
7
|
#include "light.h"
#include "location.h"
Light::Light(std::shared_ptr<const Illuminator> type, const Location & position) :
type {std::move(type)}, location {this->type->instances.acquire(position.getRotationTransform(), position.pos)}
{
}
|