Commit 68d62952 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added missing constructors



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13374 383ad7c9-94d9-4d36-a494-682f7c89f535
parent af5f3886
......@@ -49,6 +49,19 @@
//#define DEPTHPEELING_SHADER_EXPORT
DepthPeelingPlugin::DepthPeelingPlugin() :
blendQueryID_(0),
glStateTmp_(0),
numLights_(0)
{
}
DepthPeelingPlugin::~DepthPeelingPlugin() {
}
DepthPeelingPlugin::ViewerResources::ViewerResources()
{
rtWidth_ = rtHeight_ = 0;
......@@ -69,7 +82,7 @@ void DepthPeelingPlugin::initializePlugin()
memset(peelProgs_, 0, sizeof(peelProgs_));
blendQueryID_ = 0;
numLights_ = 0;
numLights_ = 0;
ACG::glCheckErrors();
}
......
......@@ -65,6 +65,10 @@ signals:
public :
DepthPeelingPlugin();
~DepthPeelingPlugin();
QString name() { return (QString("Dual Depth Peeling Plugin")); };
QString description( ) { return (QString(tr("Order independent transparency renderer"))); };
......
......@@ -50,6 +50,19 @@
const unsigned int SSAOPlugin::numSamples_ = 32;
SSAOPlugin::SSAOPlugin() :
randomVecTex_(0)
{
}
SSAOPlugin::~SSAOPlugin()
{
}
SSAOPlugin::ViewerResources::ViewerResources()
{
memset(this, 0, sizeof(ViewerResources));
......
......@@ -65,6 +65,10 @@ signals:
public :
SSAOPlugin();
~SSAOPlugin();
QString name() { return (QString("SSAO Plugin")); };
QString description( ) { return (QString(tr("Screen Space Ambient Occlusion"))); };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment