Index: Source/platform/graphics/filters/DistantLightSource.cpp |
diff --git a/Source/platform/graphics/filters/DistantLightSource.cpp b/Source/platform/graphics/filters/DistantLightSource.cpp |
index 30058e42f97290ce61b127a54431a2cae37f104e..33792d3b358cf43481a823a4f4692ae710f7d9d6 100644 |
--- a/Source/platform/graphics/filters/DistantLightSource.cpp |
+++ b/Source/platform/graphics/filters/DistantLightSource.cpp |
@@ -35,20 +35,6 @@ |
namespace blink { |
-void DistantLightSource::initPaintingData(PaintingData& paintingData) const |
-{ |
- float azimuth = deg2rad(m_azimuth); |
- float elevation = deg2rad(m_elevation); |
- paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation)); |
- paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation)); |
- paintingData.lightVector.setZ(sinf(elevation)); |
- paintingData.lightVectorLength = 1; |
-} |
- |
-void DistantLightSource::updatePaintingData(PaintingData&, int, int, float) const |
-{ |
-} |
- |
bool DistantLightSource::setAzimuth(float azimuth) |
{ |
if (m_azimuth == azimuth) |