CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 19:48:54 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/"3ae5bb81a21f6d42bcdc1ce30999f59a"
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 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 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 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=HE6YKfYnZ7S7KRybm6e15cF6Wg2i0VgkGz3or3ZrZ0wxQ1alZ1x%2FFtfthTXJFAGgZwotDW4V8D5H1htKHeak6dTw0W97BY8rrxFr405M87XOolyc1nq7XQNbw8wL38WtYeLZbbJCwra3ayQTNU26gp3ssawttV0Jc%2B9BPm%2F6O8CpJl58aYDY1CrRXYDvY5fwWLuMql4dcf5X5uyOh1Kdnmqv6DK3OjUwNm8k1Ak0xgiUsJ7vXdyNf0JOeBmDn7aifRW6mCAYwj4wKETqsctrgg%3D%3D--%2BB%2FSmGCmZy8HhiMI--ho40kKSOQQLlBYdOPi1iXg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1772298344.1752868133; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 19:48:53 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 19:48:53 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C25E:79D16:1229B2:17097A:687AA525
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 401
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 changed+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