mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-29 04:02:05 +01:00
1 parent
63a180cb97
commit
9dbfdf97ce
2 files changed
+3
-3
No files matched your search
@@ -703,14 +703,14 @@ u_compute_distortion_openhmd(struct openhmd_values *values, float u, float v, st
|
||||
}
|
||||
|
||||
static bool
|
||||
compute_distortion_openhmd(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result)
|
||||
compute_distortion_openhmd(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result)
|
||||
{
|
||||
struct oh_device *ohd = oh_device(xdev);
|
||||
return u_compute_distortion_openhmd(&ohd->distortion.openhmd[view], u, v, result);
|
||||
}
|
||||
|
||||
static bool
|
||||
compute_distortion_vive(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result)
|
||||
compute_distortion_vive(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result)
|
||||
{
|
||||
struct oh_device *ohd = oh_device(xdev);
|
||||
return u_compute_distortion_vive(&ohd->distortion.vive[view], u, v, result);
|
||||
|
||||
@@ -127,7 +127,7 @@ svr_hmd_get_view_poses(struct xrt_device *xdev,
|
||||
|
||||
//!@todo: remove hard-coding and move to u_distortion_mesh
|
||||
bool
|
||||
svr_mesh_calc(struct xrt_device *xdev, int view, float u, float v, struct xrt_uv_triplet *result)
|
||||
svr_mesh_calc(struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result)
|
||||
{
|
||||
struct svr_hmd *svr = svr_hmd(xdev);
|
||||
|
||||
|
||||
Reference in new issue
Block a user