Consistently use brace initialization in class headers.

This commit is contained in:
Howard Stearns 2015-09-09 10:34:08 -07:00
parent ad411d1bae
commit 24f1387579
2 changed files with 5 additions and 5 deletions

View file

@ -558,10 +558,10 @@ private:
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)
AvatarUpdate* _avatarUpdate = nullptr;
SimpleMovingAverage _avatarSimsPerSecond{10};
int _avatarSimsPerSecondReport = 0;
quint64 _lastAvatarSimsPerSecondUpdate = 0;
AvatarUpdate* _avatarUpdate {nullptr};
SimpleMovingAverage _avatarSimsPerSecond {10};
int _avatarSimsPerSecondReport {0};
quint64 _lastAvatarSimsPerSecondUpdate {0};
Camera _myCamera; // My view onto the world
Camera _mirrorCamera; // Cammera for mirror view
QRect _mirrorViewRect;

View file

@ -373,7 +373,7 @@ protected:
glm::vec3 _nextPosition {};
glm::quat _nextOrientation {};
bool _nextAllowed = true;
bool _nextAllowed {true};
// Body scale
float _targetScale;