summaryrefslogtreecommitdiffstats
path: root/src/render/lights/lightsource.cpp
blob: 0579b288e0d9d4febd58a7826ff2e783563771b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (C) 2016 Paul Lemire
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "lightsource_p.h"
#include <Qt3DRender/private/entity_p.h>
#include <Qt3DRender/private/light_p.h>

QT_BEGIN_NAMESPACE

namespace Qt3DRender {

namespace Render {

LightSource::LightSource() : entity(nullptr)
{
}

LightSource::LightSource(const Entity *entity, const std::vector<Light *> &lights)
    : entity(entity)
    , lights(lights)
{
}

} // Render

} // Qt3DRender

QT_END_NAMESPACE