mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 12:13:40 +02:00
CR feedback
This commit is contained in:
parent
32a7179c62
commit
3e6cddede3
2 changed files with 2 additions and 2 deletions
|
@ -3598,7 +3598,7 @@ glm::vec3 Application::getSunDirection() {
|
|||
// FIXME, preprocessor guard this check to occur only in DEBUG builds
|
||||
static QThread * activeRenderingThread = nullptr;
|
||||
|
||||
PickRay Application::computePickRay(float x, float y) {
|
||||
PickRay Application::computePickRay(float x, float y) const {
|
||||
vec2 pickPoint { x, y };
|
||||
PickRay result;
|
||||
if (isHMDMode()) {
|
||||
|
|
|
@ -168,7 +168,7 @@ public:
|
|||
|
||||
virtual ViewFrustum* getCurrentViewFrustum() override { return getDisplayViewFrustum(); }
|
||||
virtual QThread* getMainThread() override { return thread(); }
|
||||
virtual PickRay computePickRay(float x, float y) override;
|
||||
virtual PickRay computePickRay(float x, float y) const override;
|
||||
virtual glm::vec3 getAvatarPosition() const override;
|
||||
virtual qreal getDevicePixelRatio() override;
|
||||
|
||||
|
|
Loading…
Reference in a new issue