Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-06-26 23:14:35 +00:00
3 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ jobs:
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
sudo apt-get install python-toml python-aiohttp
sudo apt-get install python3-toml python3-aiohttp
cd flathub
git remote add upstream https://github.com/flathub/io.github.wivrn.wivrn.git
@@ -69,6 +69,19 @@
<content_rating type="oars-1.1" />
<releases>
<release version="25.6" date="2025-06-26">
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v25.6</url>
<description>
<ul>
<li>Improved image clarity</li>
<li>Support for body tracking on Quest</li>
<li>Support for face tracking on Pico</li>
<li>Support for Vive ultimate trackers</li>
<li>Added some advanced configuration options on dashboard</li>
<li>Changed versioning scheme to year.month</li>
</ul>
</description>
</release>
<release version="0.25" date="2025-05-18">
<url type="details">https://github.com/WiVRn/WiVRn/releases/tag/v0.25</url>
<description>
+5 -1
View File
@@ -173,7 +173,11 @@ static float angles_to_center(float e, float l, float r)
e = tan(e);
l = tan(l);
r = tan(r);
return (e - l) / (r - l) * 2 - 1;
float res = (e - l) / (r - l) * 2 - 1;
// If the center isn't in the FoV, fallback to middle of image
if (res < -1 or res > 1 or std::isnan(res))
return 0;
return res;
}
static float convergence_angle(float distance, float eye_x, float gaze_yaw)