mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
a/{tracking,util}: Improve comments
This commit is contained in:
parent
e6149902de
commit
2a34c8abf9
|
@ -197,7 +197,7 @@ namespace {
|
|||
if (out_relation == NULL) {
|
||||
return;
|
||||
}
|
||||
// Clear to sane values
|
||||
// Clear to identity values
|
||||
U_ZERO(out_relation);
|
||||
out_relation->pose.orientation.w = 1;
|
||||
if (!tracked || filter_time_ns == 0) {
|
||||
|
|
|
@ -128,7 +128,7 @@ u_system_devices_static_finalize(struct u_system_devices_static *usysds,
|
|||
left_index, (void *)left, //
|
||||
right_index, (void *)right); //
|
||||
|
||||
// Sanity checking.
|
||||
// Consistency checking.
|
||||
assert(usysds->cached.generation_id == 0);
|
||||
assert(left_index < 0 || left != NULL);
|
||||
assert(left_index >= 0 || left == NULL);
|
||||
|
|
Loading…
Reference in a new issue