diff options
Diffstat (limited to 'game/scenary/light.h')
| -rw-r--r-- | game/scenary/light.h | 5 |
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); }; |
