diff --git a/.gitlab-ci/localhost.json.license b/.gitlab-ci/localhost.json.license index 972ecf740..54b8b115a 100644 --- a/.gitlab-ci/localhost.json.license +++ b/.gitlab-ci/localhost.json.license @@ -1,3 +1,3 @@ Copyright 2020, Collabora, Ltd. -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/cmake/.cmake-format.json.license b/cmake/.cmake-format.json.license index b86a25f70..4e1c9a69b 100644 --- a/cmake/.cmake-format.json.license +++ b/cmake/.cmake-format.json.license @@ -1,3 +1,3 @@ Copyright 2019-2020, Collabora, Ltd. -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/cmake/FindEigen3.cmake b/cmake/FindEigen3.cmake index 150c2bd36..b46df1c1b 100644 --- a/cmake/FindEigen3.cmake +++ b/cmake/FindEigen3.cmake @@ -14,7 +14,7 @@ # # Eigen3::Eigen - The header-only Eigen library # -# This module reads hints about search locations from +# This module reads hints about search locations from # the following environment variables: # # EIGEN3_ROOT @@ -72,7 +72,7 @@ if (EIGEN3_INCLUDE_DIR) set(Eigen3_FOUND ${EIGEN3_VERSION_OK}) else () - + # search first if an Eigen3Config.cmake is available in the system, # if successful this would set EIGEN3_INCLUDE_DIR and the rest of # the script will work as usual @@ -81,7 +81,7 @@ else () if(NOT EIGEN3_INCLUDE_DIR) find_path(EIGEN3_INCLUDE_DIR NAMES signature_of_eigen3_matrix_library HINTS - ENV EIGEN3_ROOT + ENV EIGEN3_ROOT ENV EIGEN3_ROOT_DIR PATHS ${CMAKE_INSTALL_PREFIX}/include diff --git a/cmake/FindSystemd.cmake b/cmake/FindSystemd.cmake index 1f95eb835..887fb42b2 100644 --- a/cmake/FindSystemd.cmake +++ b/cmake/FindSystemd.cmake @@ -26,23 +26,23 @@ # # SPDX-License-Identifier: BSD-3-Clause #============================================================================= -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: -# +# # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. -# +# # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. -# +# # * Neither the names of Kitware, Inc., the Insight Software Consortium, # nor the names of their contributors may be used to endorse or promote # products derived from this software without specific prior written # permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR diff --git a/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js b/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js index 40fe2d38e..4b4d92d49 100644 --- a/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js +++ b/doc/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js @@ -46,7 +46,7 @@ class DoxygenAwesomeDarkModeToggle extends HTMLElement { DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged() }) // Update the color scheme when the tab is made visible again. - // It is possible that the appearance was changed in another tab + // It is possible that the appearance was changed in another tab // while this tab was in the background. document.addEventListener("visibilitychange", visibilityState => { if (document.visibilityState === 'visible') { @@ -97,7 +97,7 @@ class DoxygenAwesomeDarkModeToggle extends HTMLElement { * @returns `true` for dark-mode, `false` for light-mode user preference */ static get userPreference() { - return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) || + return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) || (DoxygenAwesomeDarkModeToggle.systemPreference && !localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey)) } diff --git a/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js b/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js index 86c16fd93..4aea58b9c 100644 --- a/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js +++ b/doc/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js @@ -47,11 +47,11 @@ class DoxygenAwesomeFragmentCopyButton extends HTMLElement { const fragmentCopyButton = document.createElement("doxygen-awesome-fragment-copy-button") fragmentCopyButton.innerHTML = DoxygenAwesomeFragmentCopyButton.copyIcon fragmentCopyButton.title = DoxygenAwesomeFragmentCopyButton.title - + fragment.parentNode.replaceChild(fragmentWrapper, fragment) fragmentWrapper.appendChild(fragment) fragmentWrapper.appendChild(fragmentCopyButton) - + } } }) diff --git a/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js b/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js index 20a9669d7..7201c687b 100644 --- a/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js +++ b/doc/doxygen-awesome-css/doxygen-awesome-interactive-toc.js @@ -78,4 +78,4 @@ class DoxygenAwesomeInteractiveToc { active?.classList.add("active") active?.classList.remove("aboveActive") } -} \ No newline at end of file +} diff --git a/doc/doxygen-awesome-css/doxygen-awesome-tabs.js b/doc/doxygen-awesome-css/doxygen-awesome-tabs.js index 8e725b230..b6f99e241 100644 --- a/doc/doxygen-awesome-css/doxygen-awesome-tabs.js +++ b/doc/doxygen-awesome-css/doxygen-awesome-tabs.js @@ -67,4 +67,4 @@ class DoxygenAwesomeTabs { }) }) } -} \ No newline at end of file +} diff --git a/doc/doxygen-awesome-css/doxygen-awesome.css b/doc/doxygen-awesome-css/doxygen-awesome.css index 08238977a..9b9d8518b 100644 --- a/doc/doxygen-awesome-css/doxygen-awesome.css +++ b/doc/doxygen-awesome-css/doxygen-awesome.css @@ -204,7 +204,7 @@ html { --code-background: #2a2c2f; --tablehead-background: #2a2c2f; - + --blockquote-background: #222325; --blockquote-foreground: #7e8c92; @@ -888,7 +888,7 @@ div.header { flex-wrap: nowrap; align-items: flex-start; } - + div.contents .textblock { min-width: 200px; flex-grow: 1; @@ -980,21 +980,21 @@ html.dark-mode div.contents .dotgraph iframe h2.groupheader { border-bottom: 0px; color: var(--page-foreground-color); - box-shadow: - 100px 0 var(--page-background-color), + box-shadow: + 100px 0 var(--page-background-color), -100px 0 var(--page-background-color), 100px 0.75px var(--separator-color), -100px 0.75px var(--separator-color), - 500px 0 var(--page-background-color), + 500px 0 var(--page-background-color), -500px 0 var(--page-background-color), 500px 0.75px var(--separator-color), -500px 0.75px var(--separator-color), - 900px 0 var(--page-background-color), + 900px 0 var(--page-background-color), -900px 0 var(--page-background-color), 900px 0.75px var(--separator-color), -900px 0.75px var(--separator-color), 1400px 0 var(--page-background-color), - -1400px 0 var(--page-background-color), + -1400px 0 var(--page-background-color), 1400px 0.75px var(--separator-color), -1400px 0.75px var(--separator-color), 1900px 0 var(--page-background-color), @@ -1165,8 +1165,8 @@ div.toc li a.aboveActive { div.contents .toc.interactive > h3::before { content: ""; - width: 0; - height: 0; + width: 0; + height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--primary-color); @@ -1857,8 +1857,8 @@ table.memberdecls img[src="closed.png"], table.memberdecls img[src="open.png"], div.dynheader img[src="open.png"], div.dynheader img[src="closed.png"] { - width: 0; - height: 0; + width: 0; + height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--primary-color); @@ -1876,7 +1876,7 @@ table.memberdecls img { table.memberdecls img[src="closed.png"], div.dynheader img[src="closed.png"] { transform: rotate(-90deg); - + } .compoundTemplParams { @@ -1919,7 +1919,7 @@ div.dynheader img[src="closed.png"] { margin-bottom: calc(0px - var(--page-font-size)); } - table.memberdecls .memItemRight, + table.memberdecls .memItemRight, table.memberdecls .mdescRight, table.memberdecls .memTemplItemRight { border-top: 0; @@ -2105,8 +2105,8 @@ html.dark-mode .iconfopen, html.dark-mode .iconfclosed { background-color: transparent; } -/* - Class Index Doxygen 1.8 +/* + Class Index Doxygen 1.8 */ table.classindex { @@ -2251,7 +2251,7 @@ div.contents .toc::-webkit-scrollbar-thumb, background-color: transparent; border: var(--webkit-scrollbar-padding) solid transparent; border-radius: calc(var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding)); - background-clip: padding-box; + background-clip: padding-box; } #nav-tree:hover::-webkit-scrollbar-thumb, diff --git a/doc/hand-tracking-mercury.md b/doc/hand-tracking-mercury.md index 60fee7aa3..c26d542d0 100644 --- a/doc/hand-tracking-mercury.md +++ b/doc/hand-tracking-mercury.md @@ -16,8 +16,8 @@ SPDX-License-Identifier: BSL-1.0 * Are you only including what you use? # About optimizer parameters/residuals -* My understanding is that Ceres uses *forward-mode autodiff*, which means that for each number you want autodiff to consider, it's stored in a dual number (ceres::Jet) which has a "real" part - just the value, and then a "infinitesmal" part - *this value's partial derivatives with respect to the input parameters*. Then, for every operation, you do the operation to the value and apply the chain rule to the infinitesmal parts. - * As such, it's much easier for the number of residuals to be different than the number of input parameters - creating one `Ceres::Jet` is the same as creating many `ceres::Jet`s, but having the number of infinitesmal parts in a Jet be different at runtime would be weird and probably really expensive. +* My understanding is that Ceres uses *forward-mode autodiff*, which means that for each number you want autodiff to consider, it's stored in a dual number (ceres::Jet) which has a "real" part - just the value, and then a "infinitesmal" part - *this value's partial derivatives with respect to the input parameters*. Then, for every operation, you do the operation to the value and apply the chain rule to the infinitesmal parts. + * As such, it's much easier for the number of residuals to be different than the number of input parameters - creating one `Ceres::Jet` is the same as creating many `ceres::Jet`s, but having the number of infinitesmal parts in a Jet be different at runtime would be weird and probably really expensive. * Sooooo... for now, the input size is calculated statically. We have two possible input sizes - one that includes the hand size; one that doesn't. I've tried having the output residual size be calculated statically (annoying, because you need to write a ton of boilerplate to dispatch the correct template for different cases), and I've tried having it be calculated dynamically, and the performance difference doesn't seem to be huge. So, for simplicity and for compile times, the residual size is dynamic for now. We'll revisit this later when we have dataset playback capability :) diff --git a/doc/images/autoexpgain.drawio.svg b/doc/images/autoexpgain.drawio.svg index 84eb8c87f..a60077e0e 100644 --- a/doc/images/autoexpgain.drawio.svg +++ b/doc/images/autoexpgain.drawio.svg @@ -1,4 +1,4 @@ -
DARK
DARK
BRIGHT
overshoot++
BRIGHT...
STOP
BRIGHTEN
STOP...
DARK
DARK
BRIGHT
BRIGHT
GOOD
GOOD
IDLE
IDLE
GOOD
GOOD
BRIGHT
overshoot++
BRIGHT...
BRIGHTEN
BRIGHTEN
DARK
overshoot++
DARK...
GOOD
--wait = 0
GOOD...
BRIGHT
BRIGHT
STOP
DARKEN
STOP...
GOOD
GOOD
DARK
overshoot++
DARK...
DARKEN
DARKEN
GOOD
--wait ≠ 0
GOOD...
DARK
DARK
BRIGHT
BRIGHT
GOOD
--wait ≠ 0
GOOD...
GOOD
--wait = 0
GOOD...
On exit sets wait=MAX_WAIT
On exit sets wait=MAX_WAIT
On exit sets wait=MAX_WAIT
On exit sets wait=MAX_WAIT
On enter sets overshoot=0
On enter sets overshoot=0
Text is not SVG - cannot display
\ No newline at end of file +
DARK
DARK
BRIGHT
overshoot++
BRIGHT...
STOP
BRIGHTEN
STOP...
DARK
DARK
BRIGHT
BRIGHT
GOOD
GOOD
IDLE
IDLE
GOOD
GOOD
BRIGHT
overshoot++
BRIGHT...
BRIGHTEN
BRIGHTEN
DARK
overshoot++
DARK...
GOOD
--wait = 0
GOOD...
BRIGHT
BRIGHT
STOP
DARKEN
STOP...
GOOD
GOOD
DARK
overshoot++
DARK...
DARKEN
DARKEN
GOOD
--wait ≠ 0
GOOD...
DARK
DARK
BRIGHT
BRIGHT
GOOD
--wait ≠ 0
GOOD...
GOOD
--wait = 0
GOOD...
On exit sets wait=MAX_WAIT
On exit sets wait=MAX_WAIT
On exit sets wait=MAX_WAIT
On exit sets wait=MAX_WAIT
On enter sets overshoot=0
On enter sets overshoot=0
Text is not SVG - cannot display
diff --git a/doc/images/in-process.drawio.svg.license b/doc/images/in-process.drawio.svg.license index 972ecf740..54b8b115a 100644 --- a/doc/images/in-process.drawio.svg.license +++ b/doc/images/in-process.drawio.svg.license @@ -1,3 +1,3 @@ Copyright 2020, Collabora, Ltd. -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/doc/images/monado-input-class-relationships.drawio.svg.license b/doc/images/monado-input-class-relationships.drawio.svg.license index 972ecf740..54b8b115a 100644 --- a/doc/images/monado-input-class-relationships.drawio.svg.license +++ b/doc/images/monado-input-class-relationships.drawio.svg.license @@ -1,3 +1,3 @@ Copyright 2020, Collabora, Ltd. -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/scripts/cppwinrt.imp b/scripts/cppwinrt.imp index d5dcd46fa..b2ae072f7 100644 --- a/scripts/cppwinrt.imp +++ b/scripts/cppwinrt.imp @@ -1,7 +1,7 @@ -# Copyright 2022-2023, Collabora, Ltd. -# -# SPDX-License-Identifier: BSL-1.0 -# -# GENERATED - edit generate_iwyu_mapping_cppwinrt.py instead of this file -[ -] +# Copyright 2022-2023, Collabora, Ltd. +# +# SPDX-License-Identifier: BSL-1.0 +# +# GENERATED - edit generate_iwyu_mapping_cppwinrt.py instead of this file +[ +] diff --git a/scripts/format-and-spellcheck.sh b/scripts/format-and-spellcheck.sh index 7ac80bd08..2a9c01b15 100755 --- a/scripts/format-and-spellcheck.sh +++ b/scripts/format-and-spellcheck.sh @@ -11,7 +11,7 @@ PATCH_DIR=patches PATCH_NAME=fixes.diff ( cd $(dirname $0) - + # Exit if working tree dirty or uncommitted changes staged. if ! git diff-files --quiet; then echo "ERROR: Cannot perform check/fix, working tree dirty." @@ -38,7 +38,7 @@ PATCH_NAME=fixes.diff CODESPELL_RESULT=false fi - + echo "Running clang-format..." echo ./format-project.sh @@ -47,7 +47,7 @@ PATCH_NAME=fixes.diff echo ./format-cmake.sh - + ( cd .. mkdir -p $PATCH_DIR diff --git a/scripts/get-ht-models.sh b/scripts/get-ht-models.sh index 279f9a5d5..1b8d9c9a9 100755 --- a/scripts/get-ht-models.sh +++ b/scripts/get-ht-models.sh @@ -15,4 +15,4 @@ git clone https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models cd hand-tracking-models git lfs install git lfs fetch -git lfs pull \ No newline at end of file +git lfs pull diff --git a/scripts/msvc.imp b/scripts/msvc.imp index 61478d05c..be006c97a 100644 --- a/scripts/msvc.imp +++ b/scripts/msvc.imp @@ -1,28 +1,28 @@ -# Copyright 2022, Collabora, Ltd. -# SPDX-License-Identifier: BSL-1.0 -# -# GENERATED - edit generate_iwyu_mapping_msvc.py instead of this file -[ -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -{ include: ["", "private", "", "public"] }, -] +# Copyright 2022, Collabora, Ltd. +# SPDX-License-Identifier: BSL-1.0 +# +# GENERATED - edit generate_iwyu_mapping_msvc.py instead of this file +[ +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +{ include: ["", "private", "", "public"] }, +] diff --git a/scripts/run_iwyu.ps1 b/scripts/run_iwyu.ps1 index 7e78229fa..e6a94cec7 100644 --- a/scripts/run_iwyu.ps1 +++ b/scripts/run_iwyu.ps1 @@ -61,7 +61,7 @@ function Create-Args { } $python_args = @( - (Join-Path $IwyuBinDir "iwyu_tool.py") + (Join-Path $IwyuBinDir "iwyu_tool.py") "-p" "build" "src/xrt" diff --git a/scripts/windows.imp b/scripts/windows.imp index e77f9501e..b0253ca81 100644 --- a/scripts/windows.imp +++ b/scripts/windows.imp @@ -1,7 +1,7 @@ -# Copyright 2022, Collabora, Ltd. -# SPDX-License-Identifier: BSL-1.0 -# -# GENERATED - edit generate_iwyu_mapping_windows.py instead of this file -[ -{ symbol: ["IUnknown", "public", "", "public"] }, -] +# Copyright 2022, Collabora, Ltd. +# SPDX-License-Identifier: BSL-1.0 +# +# GENERATED - edit generate_iwyu_mapping_windows.py instead of this file +[ +{ symbol: ["IUnknown", "public", "", "public"] }, +] diff --git a/src/xrt/auxiliary/bindings/bindings.py b/src/xrt/auxiliary/bindings/bindings.py index 3039629ef..19b073025 100755 --- a/src/xrt/auxiliary/bindings/bindings.py +++ b/src/xrt/auxiliary/bindings/bindings.py @@ -262,7 +262,7 @@ class Identifier: self.components = component_list self.dpad = dpad return - + class FeatureSet: """An AND of requirements (versions and/or extensions) under which a binding becomes available""" @@ -317,7 +317,7 @@ class Availability: if not optimize: self.feature_sets = set(feature_sets) return - + self.feature_sets = set() for feature_set in feature_sets: self.add_in_place(feature_set) @@ -613,7 +613,7 @@ def write_verify_func_switch(f, dict_of_lists, profile, profile_name, availabili closing.append(f'{tab_char}}}\n#endif // {ext_defines}\n') write_verify_switch_body(f, dict_of_lists, profile, profile_name, tab_char) - + for closer in reversed(closing): f.write(closer) diff --git a/src/xrt/auxiliary/util/u_git_tag.c.in b/src/xrt/auxiliary/util/u_git_tag.c.in index d80ff8ae5..8b8988440 100644 --- a/src/xrt/auxiliary/util/u_git_tag.c.in +++ b/src/xrt/auxiliary/util/u_git_tag.c.in @@ -20,4 +20,4 @@ const char u_git_tag[] = GIT_DESC; const uint16_t u_version_major = MAJOR_VERSION; const uint16_t u_version_minor = MINOR_VERSION; const uint16_t u_version_patch = PATCH_VERSION; -const char u_runtime_description[] = RUNTIME_DESCRIPTION; \ No newline at end of file +const char u_runtime_description[] = RUNTIME_DESCRIPTION; diff --git a/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json b/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json index 23af1ea28..d9512a382 100644 --- a/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json +++ b/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json @@ -1,153 +1,153 @@ -{ - "leftEye": { - "ellipseMinorAxis": 0.24494899809360505, - "ellipseMajorAxis": 0.3099985122680664, - "screenForward": { - "x": 0.37583938241004946, - "y": -0.2950916886329651, - "z": 0.878445029258728 - }, - "screenPosition": { - "x": -0.07663544267416, - "y": -0.006479046773165464, - "z": 0.015394501388072968 - }, - "eyePosition": { - "x": -0.030106136575341226, - "y": -0.014616160653531552, - "z": -0.004279683344066143 - }, - "eyeRotation": { - "x": 7.395533370627759e-32, - "y": 1.7763568394002506e-15, - "z": 1.1241009818395605e-14, - "w": 1.0 - }, - "cameraProjection": { - "x": -0.699999988079071, - "y": 0.699999988079071, - "z": 0.30000001192092898, - "w": -1.399999976158142 - }, - "sphereToWorldSpace": { - "e00": 0.05101080238819122, - "e01": 0.06071346998214722, - "e02": 0.29330453276634219, - "e03": -0.1151043102145195, - "e10": 0.0, - "e11": 0.23695310950279237, - "e12": -0.07855913043022156, - "e13": 0.026667742058634759, - "e20": -0.23957861959934236, - "e21": 0.012927045114338398, - "e22": 0.062450066208839419, - "e23": -0.05541845038533211, - "e30": 0.0, - "e31": 0.0, - "e32": 0.0, - "e33": 1.0 - }, - "worldToScreenSpace": { - "e00": 2.027873992919922, - "e01": 14.474093437194825, - "e02": 3.994591236114502, - "e03": 0.1876906156539917, - "e10": -15.437186241149903, - "e11": 0.3111684322357178, - "e12": 6.709270000457764, - "e13": -1.284305453300476, - "e20": 0.37583935260772707, - "e21": -0.2950916290283203, - "e22": 0.8784450888633728, - "e23": 0.013367477804422379, - "e30": 0.0, - "e31": 0.0, - "e32": 0.0, - "e33": 1.0 - } - }, - "rightEye": { - "ellipseMinorAxis": 0.24494899809360505, - "ellipseMajorAxis": 0.3099985122680664, - "screenForward": { - "x": -0.35585933923721316, - "y": -0.27381938695907595, - "z": 0.8935251235961914 - }, - "screenPosition": { - "x": 0.07577500492334366, - "y": -0.009351296350359917, - "z": 0.014919517561793328 - }, - "eyePosition": { - "x": 0.0300484336912632, - "y": 0.006817266810685396, - "z": 0.0022060188930481674 - }, - "eyeRotation": { - "x": 7.395533370627759e-32, - "y": 1.7763568394002506e-15, - "z": 1.1241009818395605e-14, - "w": 1.0 - }, - "cameraProjection": { - "x": -0.699999988079071, - "y": 0.699999988079071, - "z": 0.30000001192092898, - "w": -1.399999976158142 - }, - "sphereToWorldSpace": { - "e00": 0.05101081356406212, - "e01": -0.060713451355695727, - "e02": -0.29330453276634219, - "e03": 0.1155824139714241, - "e10": 0.0, - "e11": 0.23695312440395356, - "e12": -0.07855910062789917, - "e13": 0.02368796430528164, - "e20": 0.23957861959934236, - "e21": 0.0129270413890481, - "e22": 0.062450066208839419, - "e23": -0.0545220747590065, - "e30": 0.0, - "e31": 0.0, - "e32": 0.0, - "e33": 1.0 - }, - "worldToScreenSpace": { - "e00": -1.7429742813110352, - "e01": 14.570849418640137, - "e02": 3.7710490226745607, - "e03": 0.21206799149513246, - "e10": -15.61334228515625, - "e11": -0.23936468362808228, - "e12": -6.291592597961426, - "e13": 1.2747303247451783, - "e20": -0.35585933923721316, - "e21": -0.27381935715675356, - "e22": 0.8935251235961914, - "e23": 0.011073712259531021, - "e30": 0.0, - "e31": 0.0, - "e32": 0.0, - "e33": 1.0 - } - }, - "leapTracker": { - "name": "Leap Odometry Origin", - "serial": "", - "localPose": { - "position": { - "x": 0.0, - "y": 0.02151, - "z": 0.06684 - }, - "rotation": { - "x": 0.3255681, - "y": 0, - "z": 0, - "w": 0.9455186 - } - } - } -} \ No newline at end of file +{ + "leftEye": { + "ellipseMinorAxis": 0.24494899809360505, + "ellipseMajorAxis": 0.3099985122680664, + "screenForward": { + "x": 0.37583938241004946, + "y": -0.2950916886329651, + "z": 0.878445029258728 + }, + "screenPosition": { + "x": -0.07663544267416, + "y": -0.006479046773165464, + "z": 0.015394501388072968 + }, + "eyePosition": { + "x": -0.030106136575341226, + "y": -0.014616160653531552, + "z": -0.004279683344066143 + }, + "eyeRotation": { + "x": 7.395533370627759e-32, + "y": 1.7763568394002506e-15, + "z": 1.1241009818395605e-14, + "w": 1.0 + }, + "cameraProjection": { + "x": -0.699999988079071, + "y": 0.699999988079071, + "z": 0.30000001192092898, + "w": -1.399999976158142 + }, + "sphereToWorldSpace": { + "e00": 0.05101080238819122, + "e01": 0.06071346998214722, + "e02": 0.29330453276634219, + "e03": -0.1151043102145195, + "e10": 0.0, + "e11": 0.23695310950279237, + "e12": -0.07855913043022156, + "e13": 0.026667742058634759, + "e20": -0.23957861959934236, + "e21": 0.012927045114338398, + "e22": 0.062450066208839419, + "e23": -0.05541845038533211, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + }, + "worldToScreenSpace": { + "e00": 2.027873992919922, + "e01": 14.474093437194825, + "e02": 3.994591236114502, + "e03": 0.1876906156539917, + "e10": -15.437186241149903, + "e11": 0.3111684322357178, + "e12": 6.709270000457764, + "e13": -1.284305453300476, + "e20": 0.37583935260772707, + "e21": -0.2950916290283203, + "e22": 0.8784450888633728, + "e23": 0.013367477804422379, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } + }, + "rightEye": { + "ellipseMinorAxis": 0.24494899809360505, + "ellipseMajorAxis": 0.3099985122680664, + "screenForward": { + "x": -0.35585933923721316, + "y": -0.27381938695907595, + "z": 0.8935251235961914 + }, + "screenPosition": { + "x": 0.07577500492334366, + "y": -0.009351296350359917, + "z": 0.014919517561793328 + }, + "eyePosition": { + "x": 0.0300484336912632, + "y": 0.006817266810685396, + "z": 0.0022060188930481674 + }, + "eyeRotation": { + "x": 7.395533370627759e-32, + "y": 1.7763568394002506e-15, + "z": 1.1241009818395605e-14, + "w": 1.0 + }, + "cameraProjection": { + "x": -0.699999988079071, + "y": 0.699999988079071, + "z": 0.30000001192092898, + "w": -1.399999976158142 + }, + "sphereToWorldSpace": { + "e00": 0.05101081356406212, + "e01": -0.060713451355695727, + "e02": -0.29330453276634219, + "e03": 0.1155824139714241, + "e10": 0.0, + "e11": 0.23695312440395356, + "e12": -0.07855910062789917, + "e13": 0.02368796430528164, + "e20": 0.23957861959934236, + "e21": 0.0129270413890481, + "e22": 0.062450066208839419, + "e23": -0.0545220747590065, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + }, + "worldToScreenSpace": { + "e00": -1.7429742813110352, + "e01": 14.570849418640137, + "e02": 3.7710490226745607, + "e03": 0.21206799149513246, + "e10": -15.61334228515625, + "e11": -0.23936468362808228, + "e12": -6.291592597961426, + "e13": 1.2747303247451783, + "e20": -0.35585933923721316, + "e21": -0.27381935715675356, + "e22": 0.8935251235961914, + "e23": 0.011073712259531021, + "e30": 0.0, + "e31": 0.0, + "e32": 0.0, + "e33": 1.0 + } + }, + "leapTracker": { + "name": "Leap Odometry Origin", + "serial": "", + "localPose": { + "position": { + "x": 0.0, + "y": 0.02151, + "z": 0.06684 + }, + "rotation": { + "x": 0.3255681, + "y": 0, + "z": 0, + "w": 0.9455186 + } + } + } +} diff --git a/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json.license b/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json.license index 9404b82c7..2475bd170 100644 --- a/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json.license +++ b/src/xrt/drivers/north_star/exampleconfigs/v1_deckx_50cm.json.license @@ -1,3 +1,3 @@ Copyright 2021, CombineReality -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json.license b/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json.license index 693ed3900..db7ecf3ef 100644 --- a/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json.license +++ b/src/xrt/drivers/north_star/exampleconfigs/v2_deckx_50cm.json.license @@ -1,4 +1,4 @@ Copyright 2021, Moshi Turner Copyright 2021, Nova King -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json.license b/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json.license index 65f8726cf..54034942a 100644 --- a/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json.license +++ b/src/xrt/drivers/north_star/exampleconfigs/v2_lonestar_50cm.json.license @@ -1,3 +1,3 @@ Copyright 2021, Moshi Turner -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/src/xrt/drivers/ultraleap_v5/ulv5_interface.h b/src/xrt/drivers/ultraleap_v5/ulv5_interface.h index 01579afaf..751527db7 100644 --- a/src/xrt/drivers/ultraleap_v5/ulv5_interface.h +++ b/src/xrt/drivers/ultraleap_v5/ulv5_interface.h @@ -37,4 +37,4 @@ xrt_result_t ulv5_create_device(struct xrt_device **out_xdev); #ifdef __cplusplus } -#endif \ No newline at end of file +#endif diff --git a/src/xrt/ipc/shared/proto.schema.json.license b/src/xrt/ipc/shared/proto.schema.json.license index c52f4cb8b..7f85a5f59 100644 --- a/src/xrt/ipc/shared/proto.schema.json.license +++ b/src/xrt/ipc/shared/proto.schema.json.license @@ -1,3 +1,3 @@ Copyright 2018-2020, Collabora, Ltd. -SPDX-License-Identifier: BSL-1.0 \ No newline at end of file +SPDX-License-Identifier: BSL-1.0 diff --git a/src/xrt/targets/sdl_test/sdl_program.cpp b/src/xrt/targets/sdl_test/sdl_program.cpp index 6c62c13e5..3e998ef16 100644 --- a/src/xrt/targets/sdl_test/sdl_program.cpp +++ b/src/xrt/targets/sdl_test/sdl_program.cpp @@ -1,4 +1,4 @@ -// Copyright 2020-2022, Collabora, Ltd. +// Copyright 2020-2022, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file diff --git a/src/xrt/tracking/hand/mercury/hg_numerics_checker.hpp b/src/xrt/tracking/hand/mercury/hg_numerics_checker.hpp index a19e302d2..f83b65523 100644 --- a/src/xrt/tracking/hand/mercury/hg_numerics_checker.hpp +++ b/src/xrt/tracking/hand/mercury/hg_numerics_checker.hpp @@ -59,4 +59,4 @@ remove_floating_exceptions() #endif -} // namespace xrt::tracking::hand::mercury::numerics_checker \ No newline at end of file +} // namespace xrt::tracking::hand::mercury::numerics_checker