~bl4ckb0ne/wxrc

90c5ff2310050d0f54380ddc0efa7dbed5089062 — Simon Zeni 1 year, 3 months ago 171f958
hand-tracking: fix finger touch intersection detection
1 files changed, 1 insertions(+), 1 deletions(-)

M src/hand-tracking.c
M src/hand-tracking.c => src/hand-tracking.c +1 -1
@@ 186,7 186,7 @@ touch_update(struct wxrc_hand_tracking *tracking,
		struct wxrc_hand_touchpoint *point, uint32_t time_msec)
{
	XrHandJointLocationEXT *location = &tracking->joints[point->joint];
	vec3 dir = {0.f, 0.f, location->radius * 2};
	vec3 dir = {0.f, 0.f, location->radius};

	const XrPosef *pose = &location->pose;