CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 11:22:18 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/immersive-web/webxr.git
etag: W/"6556b022294cd1374746081133c11719"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=dVtO%2BbMCogjx0Vcrqekn8oMW9n4THXV0YCtau%2FWJDPEFw5b1FL7q0ZIoVaax1wIwYdQaef4vDwOtUoazk48CdQP5SUwOEINLZ1kwFl7uslQOP%2FmxvgD2ZV01rt7N2p3cgBZZSYoiT5YR0r2ZL7vr7FE4bm%2B%2FQOKm%2B1oXNg2PDc%2FyeX9kijZ46vjHgRfETP4WqCaFbjfX7m20z1WfNqOxbIdz2T0VthPpqcX2c2NfdA2ZPrCZ77UPPQFGlcyoT6dxRkWAiybtoITW8rMIfzv%2BHQ%3D%3D--vHRt6ljfk05KeW8S--83C8HXafcGtHVlCktxDaDg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.328849377.1760268138; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 11:22:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 12 Oct 2026 11:22:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E560:123F70:ECE9F3:13BF26C:68EB8F6A
Fix algorithm to XRRay.matrix · immersive-web/webxr@0e096ed · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 409
Commit 0e096ed
Fix algorithm to XRRay.matrix
Fixes for current algorithm to obtain XRRay.matrix:
- Dot product does not result in an angle between 2 vectors
but is used as such.
- Magnitude of cross product of 2 vectors can be 0
but rotation can still be necessary.1 parent a8e2a40 commit 0e096edCopy full SHA for 0e096ed
Expand file treeCollapse file tree
1 file changed
+23
-17
lines changedCollapse file: index.bs
+23-17Lines changed: 23 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
661 | 661 |
| |
662 | 662 |
| |
663 | 663 |
| |
664 |
| - | |
| 664 | + | |
665 | 665 |
| |
666 | 666 |
| |
667 | 667 |
| |
| |||
820 | 820 |
| |
821 | 821 |
| |
822 | 822 |
| |
823 |
| - | |
| 823 | + | |
824 | 824 |
| |
825 | 825 |
| |
826 | 826 |
| |
| |||
829 | 829 |
| |
830 | 830 |
| |
831 | 831 |
| |
832 |
| - | |
| 832 | + | |
833 | 833 |
| |
834 | 834 |
| |
835 | 835 |
| |
| |||
958 | 958 |
| |
959 | 959 |
| |
960 | 960 |
| |
961 |
| - | |
| 961 | + | |
962 | 962 |
| |
963 | 963 |
| |
964 | 964 |
| |
| |||
1207 | 1207 |
| |
1208 | 1208 |
| |
1209 | 1209 |
| |
1210 |
| - | |
| 1210 | + | |
1211 | 1211 |
| |
1212 | 1212 |
| |
1213 | 1213 |
| |
1214 | 1214 |
| |
1215 | 1215 |
| |
1216 | 1216 |
| |
1217 |
| - | |
| 1217 | + | |
1218 | 1218 |
| |
1219 | 1219 |
| |
1220 | 1220 |
| |
1221 | 1221 |
| |
1222 | 1222 |
| |
1223 | 1223 |
| |
1224 | 1224 |
| |
1225 |
| - | |
| 1225 | + | |
1226 | 1226 |
| |
1227 | 1227 |
| |
1228 | 1228 |
| |
| |||
1255 | 1255 |
| |
1256 | 1256 |
| |
1257 | 1257 |
| |
1258 |
| - | |
1259 |
| - | |
1260 |
| - | |
1261 |
| - | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
1262 | 1268 |
| |
1263 | 1269 |
| |
1264 | 1270 |
| |
| |||
1286 | 1292 |
| |
1287 | 1293 |
| |
1288 | 1294 |
| |
1289 |
| - | |
| 1295 | + | |
1290 | 1296 |
| |
1291 | 1297 |
| |
1292 | 1298 |
| |
| |||
1421 | 1427 |
| |
1422 | 1428 |
| |
1423 | 1429 |
| |
1424 |
| - | |
| 1430 | + | |
1425 | 1431 |
| |
1426 | 1432 |
| |
1427 | 1433 |
| |
| |||
1649 | 1655 |
| |
1650 | 1656 |
| |
1651 | 1657 |
| |
1652 |
| - | |
1653 |
| - | |
| 1658 | + | |
| 1659 | + | |
1654 | 1660 |
| |
1655 | 1661 |
| |
1656 | 1662 |
| |
| |||
1874 | 1880 |
| |
1875 | 1881 |
| |
1876 | 1882 |
| |
1877 |
| - | |
| 1883 | + | |
1878 | 1884 |
| |
1879 | 1885 |
| |
1880 | 1886 |
| |
| |||
1899 | 1905 |
| |
1900 | 1906 |
| |
1901 | 1907 |
| |
1902 |
| - | |
| 1908 | + | |
1903 | 1909 |
| |
1904 | 1910 |
| |
1905 | 1911 |
| |
|
You can’t perform that action at this time.
0 commit comments