Create specific type for Poses instead of using VRPose
Currently, we extensively use VRPose to surface data to blink even for the entities where additional VRPose fields make no sense. In addition, VRPose allows for null position / orientation even though those entities will always have position and orientation known. I have decided against using gfx.mojom.Transform to surface that information since it allows for transforms that perform more than just translation and rotation and we would have to perform additional checks to enforce that no additional components are present. Bug: 1013229 Change-Id: I517a5b33aa905ca3c29e8b742c6767f2b6eb03bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1887752 Commit-Queue: Piotr Bialecki <bialpio@chromium.org> Auto-Submit: Piotr Bialecki <bialpio@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#714288}
Showing
Please register or sign in to comment