mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-28 17:38:27 +00:00
d/wmr: Fix accel axis conversion
This commit is contained in:
parent
f09e02c517
commit
daccde940e
|
@ -1 +1,4 @@
|
|||
---
|
||||
- mr.803
|
||||
---
|
||||
wmr: Initial commit of driver, 3DoF only.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
void
|
||||
vec3_from_hololens_accel(int32_t sample[3][4], int i, struct xrt_vec3 *out_vec)
|
||||
{
|
||||
out_vec->x = (float)sample[0][i] * 0.001f * -1.0f;
|
||||
out_vec->x = (float)sample[0][i] * 0.001f * 1.0f;
|
||||
out_vec->y = (float)sample[1][i] * 0.001f * -1.0f;
|
||||
out_vec->z = (float)sample[2][i] * 0.001f * -1.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue