mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-29 04:02:05 +01:00
xrt: Define VIVE distortion parameters.
This commit is contained in:
1 parent
15a97422ba
commit
cdfe8b8d4a
1 file changed
+11
-2
@@ -128,8 +128,17 @@ struct xrt_device
|
||||
|
||||
struct
|
||||
{
|
||||
// To be filled in.
|
||||
float temp;
|
||||
float aspect_x_over_y;
|
||||
float grow_for_undistort;
|
||||
|
||||
//! Left/right
|
||||
float undistort_r2_cutoff[2];
|
||||
|
||||
//! Left/right, x/y
|
||||
float center[2][2];
|
||||
|
||||
//! left/right, r/g/b, a/b/c
|
||||
float coefficients[2][3][3];
|
||||
} vive;
|
||||
|
||||
} distortion;
|
||||
|
||||
Reference in new issue
Block a user