mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-17 07:10:06 +02:00
fix mac warnings
This commit is contained in:
parent
935af6d2cc
commit
843039f741
3 changed files with 1 additions and 3 deletions
|
@ -328,7 +328,6 @@ void ApplicationCompositor::handleRealMouseMoveEvent(bool sendFakeEvent) {
|
|||
_ignoreMouseMove = false;
|
||||
return;
|
||||
}
|
||||
auto applicationGeometry = qApp->getApplicationGeometry();
|
||||
auto newPosition = QCursor::pos();
|
||||
auto changeInRealMouse = newPosition - _lastKnownRealMouse;
|
||||
auto newReticlePosition = _reticlePositionInHMD + toGlm(changeInRealMouse);
|
||||
|
|
|
@ -162,7 +162,7 @@ class ReticleInterface : public QObject {
|
|||
Q_PROPERTY(bool visible READ getVisible WRITE setVisible)
|
||||
Q_PROPERTY(float depth READ getDepth WRITE setDepth)
|
||||
public:
|
||||
ReticleInterface(ApplicationCompositor* outer) : _compositor(outer), QObject(outer) { }
|
||||
ReticleInterface(ApplicationCompositor* outer) : QObject(outer), _compositor(outer) {}
|
||||
|
||||
Q_INVOKABLE bool getVisible() { return _compositor->getReticleVisible(); }
|
||||
Q_INVOKABLE void setVisible(bool visible) { _compositor->setReticleVisible(visible); }
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <RenderDeferredTask.h>
|
||||
#include <TextRenderer3D.h>
|
||||
|
||||
const float DEFAULT_MARGIN = 0.1f;
|
||||
const int FIXED_FONT_POINT_SIZE = 40;
|
||||
const int FIXED_FONT_SCALING_RATIO = FIXED_FONT_POINT_SIZE * 80.0f; // this is a ratio determined through experimentation
|
||||
const float LINE_SCALE_RATIO = 1.2f;
|
||||
|
|
Loading…
Reference in a new issue