mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-29 04:02:05 +01:00
m/space: Normalize orientation when returning result
This commit is contained in:
1 parent
09566cf5fd
commit
ecbde55752
1 file changed
+3
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user