mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 14:40:40 +02:00
orientation stored in dataserver is in degrees
This commit is contained in:
parent
793a760272
commit
c3e8d51694
1 changed files with 1 additions and 1 deletions
|
@ -1155,7 +1155,7 @@ void MyAvatar::updateLocationInDataServer() {
|
||||||
|
|
||||||
if (accountManager.isLoggedIn()) {
|
if (accountManager.isLoggedIn()) {
|
||||||
QString positionString(createByteArray(_position));
|
QString positionString(createByteArray(_position));
|
||||||
QString orientationString(createByteArray(glm::radians(safeEulerAngles(getOrientation()))));
|
QString orientationString(createByteArray(glm::degrees(safeEulerAngles(getOrientation()))));
|
||||||
|
|
||||||
// construct the json to put the user's location
|
// construct the json to put the user's location
|
||||||
QString locationPutJson = QString() + "{\"address\":{\"position\":\""
|
QString locationPutJson = QString() + "{\"address\":{\"position\":\""
|
||||||
|
|
Loading…
Reference in a new issue