Skip to content
Permalink
Browse files

Remove unused method

  • Loading branch information
nyalldawson committed Jul 28, 2020
1 parent e541fe6 commit 0058a831ff2a0bd529088849027471459d06932d
Showing with 0 additions and 11 deletions.
  1. +0 −9 src/3d/qgs3dutils.cpp
  2. +0 −2 src/3d/qgs3dutils.h
@@ -557,12 +557,3 @@ QgsExpressionContext Qgs3DUtils::globalProjectLayerExpressionContext( QgsVectorL
return exprContext;
}

Qt3DExtras::QPhongMaterial *Qgs3DUtils::phongMaterial( const QgsPhongMaterialSettings &settings )
{
Qt3DExtras::QPhongMaterial *phong = new Qt3DExtras::QPhongMaterial;
phong->setAmbient( settings.ambient() );
phong->setDiffuse( settings.diffuse() );
phong->setSpecular( settings.specular() );
phong->setShininess( settings.shininess() );
return phong;
}
@@ -172,8 +172,6 @@ class _3D_EXPORT Qgs3DUtils
//! Returns expression context for use in preparation of 3D data of a layer
static QgsExpressionContext globalProjectLayerExpressionContext( QgsVectorLayer *layer );

//! Returns phong material object based on the material settings
static Qt3DExtras::QPhongMaterial *phongMaterial( const QgsPhongMaterialSettings &settings );
};

#endif // QGS3DUTILS_H

0 comments on commit 0058a83

Please sign in to comment.
You can’t perform that action at this time.