mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Serialize PickRay according to its variables
This commit is contained in:
parent
c3df710396
commit
74937a1979
1 changed files with 0 additions and 2 deletions
|
@ -178,9 +178,7 @@ public:
|
|||
QVariantMap toVariantMap() const override {
|
||||
QVariantMap pickRay;
|
||||
pickRay["origin"] = vec3toVariant(origin);
|
||||
pickRay["position"] = vec3toVariant(origin);
|
||||
pickRay["direction"] = vec3toVariant(direction);
|
||||
pickRay["orientation"] = quatToVariant(rotationBetween(Vectors::UP, direction));
|
||||
return pickRay;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue