mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:17:34 +02:00
Consistently use brace initialization in class headers.
This commit is contained in:
parent
ad411d1bae
commit
24f1387579
2 changed files with 5 additions and 5 deletions
|
@ -558,10 +558,10 @@ private:
|
||||||
|
|
||||||
KeyboardMouseDevice* _keyboardMouseDevice{ nullptr }; // Default input device, the good old keyboard mouse and maybe touchpad
|
KeyboardMouseDevice* _keyboardMouseDevice{ nullptr }; // Default input device, the good old keyboard mouse and maybe touchpad
|
||||||
MyAvatar* _myAvatar; // TODO: move this and relevant code to AvatarManager (or MyAvatar as the case may be)
|
MyAvatar* _myAvatar; // TODO: move this and relevant code to AvatarManager (or MyAvatar as the case may be)
|
||||||
AvatarUpdate* _avatarUpdate = nullptr;
|
AvatarUpdate* _avatarUpdate {nullptr};
|
||||||
SimpleMovingAverage _avatarSimsPerSecond{10};
|
SimpleMovingAverage _avatarSimsPerSecond {10};
|
||||||
int _avatarSimsPerSecondReport = 0;
|
int _avatarSimsPerSecondReport {0};
|
||||||
quint64 _lastAvatarSimsPerSecondUpdate = 0;
|
quint64 _lastAvatarSimsPerSecondUpdate {0};
|
||||||
Camera _myCamera; // My view onto the world
|
Camera _myCamera; // My view onto the world
|
||||||
Camera _mirrorCamera; // Cammera for mirror view
|
Camera _mirrorCamera; // Cammera for mirror view
|
||||||
QRect _mirrorViewRect;
|
QRect _mirrorViewRect;
|
||||||
|
|
|
@ -373,7 +373,7 @@ protected:
|
||||||
|
|
||||||
glm::vec3 _nextPosition {};
|
glm::vec3 _nextPosition {};
|
||||||
glm::quat _nextOrientation {};
|
glm::quat _nextOrientation {};
|
||||||
bool _nextAllowed = true;
|
bool _nextAllowed {true};
|
||||||
|
|
||||||
// Body scale
|
// Body scale
|
||||||
float _targetScale;
|
float _targetScale;
|
||||||
|
|
Loading…
Reference in a new issue