m/space: Correct comments

This commit is contained in:
Jakob Bornecrantz 2022-12-24 01:07:14 +00:00
parent c7fdaacd02
commit da5323642d

View file

@ -1,4 +1,4 @@
// Copyright 2020, Collabora, Ltd.
// Copyright 2020-2022, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
@ -216,7 +216,7 @@ apply_relation(const struct xrt_space_relation *a,
/*
* Write everything out.
* Flags.
*/
int new_flags = 0;
@ -254,6 +254,11 @@ apply_relation(const struct xrt_space_relation *a,
new_flags |= XRT_SPACE_RELATION_ANGULAR_VELOCITY_VALID_BIT;
}
/*
* Write everything out.
*/
struct xrt_space_relation tmp = {};
tmp.relation_flags = (enum xrt_space_relation_flags)new_flags;
tmp.pose = pose;