Be less strict for quaternions norm

This commit is contained in:
Patrick Nicolas
2026-02-20 23:38:43 +01:00
parent eddda44def
commit 51ee0b46ac
+1 -2
View File
@@ -260,8 +260,7 @@ std::pair<XrTime, xrt_space_relation> pose_list::get_at(XrTime at_timestamp_ns)
if (orientation.y)
{
if (auto norm2 = orientation.y->squaredNorm();
norm2 > 0.9 and norm2 < 1.1)
if (auto norm2 = orientation.y->squaredNorm(); norm2 > 0.1)
{
flags(XRT_SPACE_RELATION_ORIENTATION_VALID_BIT | XRT_SPACE_RELATION_ORIENTATION_TRACKED_BIT);