mirror of
https://github.com/overte-org/overte.git
synced 2025-06-15 12:06:31 +02:00
CR feedback
This commit is contained in:
parent
dfba05ae5f
commit
c0cf717a04
3 changed files with 2 additions and 7 deletions
|
@ -14,10 +14,6 @@
|
||||||
|
|
||||||
const QString NullDisplayPlugin::NAME("NullDisplayPlugin");
|
const QString NullDisplayPlugin::NAME("NullDisplayPlugin");
|
||||||
|
|
||||||
const QString & NullDisplayPlugin::getName() const {
|
|
||||||
return NAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
glm::uvec2 NullDisplayPlugin::getRecommendedRenderSize() const {
|
glm::uvec2 NullDisplayPlugin::getRecommendedRenderSize() const {
|
||||||
return glm::uvec2(100, 100);
|
return glm::uvec2(100, 100);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ class NullDisplayPlugin : public DisplayPlugin {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
virtual ~NullDisplayPlugin() final {}
|
virtual ~NullDisplayPlugin() final {}
|
||||||
virtual const QString & getName() const override;
|
virtual const QString& getName() const override { return NAME; }
|
||||||
virtual grouping getGrouping() const override { return DEVELOPER; }
|
virtual grouping getGrouping() const override { return DEVELOPER; }
|
||||||
|
|
||||||
void stop() override;
|
void stop() override;
|
||||||
|
@ -25,5 +25,4 @@ public:
|
||||||
virtual QImage getScreenshot() const override;
|
virtual QImage getScreenshot() const override;
|
||||||
private:
|
private:
|
||||||
static const QString NAME;
|
static const QString NAME;
|
||||||
static const QString GROUPING;
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,7 +30,7 @@ protected:
|
||||||
private:
|
private:
|
||||||
using EyePoses = std::pair<ovrPosef, ovrPosef>;
|
using EyePoses = std::pair<ovrPosef, ovrPosef>;
|
||||||
static const QString NAME;
|
static const QString NAME;
|
||||||
bool _enablePreview{ false };
|
bool _enablePreview { false };
|
||||||
bool _monoPreview { true };
|
bool _monoPreview { true };
|
||||||
QMap<uint32_t, EyePoses> _frameEyePoses;
|
QMap<uint32_t, EyePoses> _frameEyePoses;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue