1 | // Copyright (C) 2016 Paul Lemire |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include "lightsource_p.h" |
5 | #include <Qt3DRender/private/entity_p.h> |
6 | #include <Qt3DRender/private/light_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | namespace Qt3DRender { |
11 | |
12 | namespace Render { |
13 | |
14 | LightSource::LightSource() : entity(nullptr) |
15 | { |
16 | } |
17 | |
18 | LightSource::LightSource(const Entity *entity, const std::vector<Light *> &lights) |
19 | : entity(entity) |
20 | , lights(lights) |
21 | { |
22 | } |
23 | |
24 | } // Render |
25 | |
26 | } // Qt3DRender |
27 | |
28 | QT_END_NAMESPACE |
29 |