mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Make default reticle depth be HUD overlay radius
This commit is contained in:
parent
436bed3a69
commit
4d70651c69
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@
|
|||
|
||||
class ReticleInterface;
|
||||
|
||||
const float DEFAULT_RETICLE_DEPTH = 1.0f; // FIXME - probably should be based on UI radius
|
||||
const float HUD_RADIUS = 1.5f;
|
||||
const float DEFAULT_RETICLE_DEPTH = HUD_RADIUS;
|
||||
|
||||
const float MAGNIFY_WIDTH = 220.0f;
|
||||
const float MAGNIFY_HEIGHT = 100.0f;
|
||||
|
@ -155,7 +155,7 @@ private:
|
|||
std::unique_ptr<QPropertyAnimation> _alphaPropertyAnimation;
|
||||
|
||||
std::atomic<bool> _reticleVisible { true };
|
||||
std::atomic<float> _reticleDepth { 1.0f };
|
||||
std::atomic<float> _reticleDepth { DEFAULT_RETICLE_DEPTH };
|
||||
|
||||
// NOTE: when the compositor is running in HMD mode, it will control the reticle position as a custom
|
||||
// application specific position, when it's in desktop mode, the reticle position will simply move
|
||||
|
|
Loading…
Reference in a new issue