mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:13:11 +02:00
remove warning about uninitialized variables
This commit is contained in:
parent
81209c38ca
commit
d78580adc4
1 changed files with 6 additions and 6 deletions
|
@ -82,13 +82,13 @@ void Overlays::render3D() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
bool myAvatarComputed = false;
|
bool myAvatarComputed = false;
|
||||||
MyAvatar* avatar;
|
MyAvatar* avatar = NULL;
|
||||||
glm::quat myAvatarRotation;
|
glm::quat myAvatarRotation;
|
||||||
glm::vec3 myAvatarPosition;
|
glm::vec3 myAvatarPosition(0.0f);
|
||||||
float angle;
|
float angle = 0.0f;
|
||||||
glm::vec3 axis;
|
glm::vec3 axis(0.0f, 1.0f, 0.0f);
|
||||||
float myAvatarScale;
|
float myAvatarScale = 1.0f;
|
||||||
|
|
||||||
foreach(Overlay* thisOverlay, _overlays3D) {
|
foreach(Overlay* thisOverlay, _overlays3D) {
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
switch (thisOverlay->getAnchor()) {
|
switch (thisOverlay->getAnchor()) {
|
||||||
|
|
Loading…
Reference in a new issue