mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
m/space: Normalize orientation when returning result
This commit is contained in:
parent
09566cf5fd
commit
ecbde55752
|
@ -296,5 +296,8 @@ m_space_graph_resolve(const struct xrt_space_graph *xsg,
|
|||
(void)dump_graph;
|
||||
#endif
|
||||
|
||||
// Ensure no errors has crept in.
|
||||
math_quat_normalize(&r.pose.orientation);
|
||||
|
||||
*out_relation = r;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue