Add controller offsets for Pico Neo 3 (#696)
This commit is contained in:
@@ -420,6 +420,18 @@ std::pair<glm::vec3, glm::quat> controller_offset(std::string_view profile, xr::
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (profile == "pico-neo3")
|
||||||
|
switch (space)
|
||||||
|
{
|
||||||
|
case xr::spaces::grip_left:
|
||||||
|
case xr::spaces::grip_right:
|
||||||
|
return {{0, 0.005, -0.051}, glm::angleAxis(glm::radians(-29.400f), glm::vec3{1, 0, 0})};
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
else if (profile == "samsung-galaxyxr")
|
else if (profile == "samsung-galaxyxr")
|
||||||
switch (space)
|
switch (space)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user