diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-12-07 14:20:01 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-12-09 13:53:23 +0000 |
commit | 94f3df1aacab5853d09e79596eb3bdae3aecae0a (patch) | |
tree | 4db06240d22462becc9ad5b499926aa11316b88d /src/render/lights/qpointlight.cpp | |
parent | 3655c334b0f4a28a1487c918384da50498ef9418 (diff) |
Add support for spotlights
Change-Id: I61a4e072c1a2e00cdbcee917aa557e56fb8cb7c0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/lights/qpointlight.cpp')
-rw-r--r-- | src/render/lights/qpointlight.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/lights/qpointlight.cpp b/src/render/lights/qpointlight.cpp index 05fb85676..808378c2d 100644 --- a/src/render/lights/qpointlight.cpp +++ b/src/render/lights/qpointlight.cpp @@ -62,8 +62,8 @@ namespace Qt3DRender { \class Qt3DRender::QPointLightPrivate \internal */ -QPointLightPrivate::QPointLightPrivate() - : QLightPrivate(QLight::PointLight) +QPointLightPrivate::QPointLightPrivate(QLight::Type type) + : QLightPrivate(type) , m_attenuation(0.0f, 0.0f, 0.002f) { } |