mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 14:44:39 +02:00
fixed glm::quat initialization
This commit is contained in:
parent
83d1d54bc2
commit
0244ead5df
1 changed files with 3 additions and 3 deletions
|
@ -53,10 +53,10 @@ SnapshotMetaData* Snapshot::parseSnapshotData(QString snapshotPath) {
|
|||
shot.text(LOCATION_Y).toFloat(),
|
||||
shot.text(LOCATION_Z).toFloat()));
|
||||
|
||||
data->setOrientation(glm::quat(shot.text(ORIENTATION_X).toFloat(),
|
||||
data->setOrientation(glm::quat(shot.text(ORIENTATION_W).toFloat(),
|
||||
shot.text(ORIENTATION_X).toFloat(),
|
||||
shot.text(ORIENTATION_Y).toFloat(),
|
||||
shot.text(ORIENTATION_Z).toFloat(),
|
||||
shot.text(ORIENTATION_W).toFloat()));
|
||||
shot.text(ORIENTATION_Z).toFloat()));
|
||||
|
||||
data->setDomain(shot.text(DOMAIN_KEY));
|
||||
|
||||
|
|
Loading…
Reference in a new issue