summaryrefslogtreecommitdiff
path: root/game/scenary/light.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/scenary/light.h')
-rw-r--r--game/scenary/light.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/scenary/light.h b/game/scenary/light.h
index 0b19535..b1ea469 100644
--- a/game/scenary/light.h
+++ b/game/scenary/light.h
@@ -7,13 +7,16 @@ class Location;
class Light : public WorldObject {
std::shared_ptr<const Illuminator> type;
- InstanceVertices<Illuminator::LocationVertex>::InstanceProxy location;
+ InstanceVertices<Illuminator::InstanceVertex>::InstanceProxy instance;
void
tick(TickDuration) override
{
}
+ std::vector<InstanceVertices<SpotLightVertex>::InstanceProxy> spotLightInstances;
+ std::vector<InstanceVertices<PointLightVertex>::InstanceProxy> pointLightInstances;
+
public:
Light(std::shared_ptr<const Illuminator> type, const Location & position);
};