CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 05:24:42 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/facebookresearch/pytorch3d.git
etag: W/"41e8b0c6f5ecd29939fafc3d03b3dcbc"
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=jksn65OFUO1hj4eX1ojJwB%2Bh5YuIL7E5Q17Xeso%2BpR60m7q7eclUW%2FJLic9uENqMeeildn3rurBqLZEzCbrOPRZZy9TULzJ5LhiBZP1QllyZXtjTJJxWtbM8lOk8grT1MHKVOLJFLRob3xQqBcGgpv7yDRt8p7KNC7nBWZzafemG7iu3hagsWEULVK3%2BGyLYmgUUWqNkKT3PGYMTLEs4j%2FvXwQxEujdRriQ0SRo%2B6O5JOaqcg5TxMBL%2BrbP1%2FFCC96P7bD6Wk4KuUbGwn4%2FDLQ%3D%3D--mnbL2A3uPIqvwwYS--j19V6TDQnR6GsSQc7nozGg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.292228345.1753593881; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 05:24:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 05:24:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B94C:21EF6:18DF31:24B33E:6885B819
axis_angle representation of rotations · facebookresearch/pytorch3d@c93c4dd · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/transforms/rotation_conversions.py
Copy file name to clipboardExpand all lines: tests/test_rotation_conversions.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit c93c4dd
axis_angle representation of rotations
Summary: We can represent a rotation as a vector in the axis direction, whose length is the rotation anticlockwise in radians around that axis.
Reviewed By: gkioxari
Differential Revision: D24306293
fbshipit-source-id: 2e0f138eda8329f6cceff600a6e5f17a00e4deb71 parent 005a334 commit c93c4ddCopy full SHA for c93c4dd
File tree
Expand file treeCollapse file tree
2 files changed
+131
-7
lines changedFilter options
- pytorch3d/transforms
- tests
Expand file treeCollapse file tree
2 files changed
+131
-7
lines changedpytorch3d/transforms/rotation_conversions.py
Copy file name to clipboardExpand all lines: pytorch3d/transforms/rotation_conversions.py+95Lines changed: 95 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
413 | 413 |
| |
414 | 414 |
| |
415 | 415 |
| |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
416 | 511 |
| |
417 | 512 |
| |
418 | 513 |
| |
|
tests/test_rotation_conversions.py
Copy file name to clipboardExpand all lines: tests/test_rotation_conversions.py+36-7Lines changed: 36 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
| 12 | + | |
11 | 13 |
| |
| 14 | + | |
12 | 15 |
| |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
16 | 19 |
| |
| 20 | + | |
17 | 21 |
| |
18 | 22 |
| |
19 | 23 |
| |
| |||
60 | 64 |
| |
61 | 65 |
| |
62 | 66 |
| |
63 |
| - | |
| 67 | + | |
64 | 68 |
| |
65 | 69 |
| |
66 | 70 |
| |
67 | 71 |
| |
68 | 72 |
| |
69 |
| - | |
| 73 | + | |
70 | 74 |
| |
71 | 75 |
| |
72 | 76 |
| |
| |||
107 | 111 |
| |
108 | 112 |
| |
109 | 113 |
| |
110 |
| - | |
| 114 | + | |
111 | 115 |
| |
112 | 116 |
| |
113 | 117 |
| |
114 | 118 |
| |
115 | 119 |
| |
116 |
| - | |
| 120 | + | |
117 | 121 |
| |
118 | 122 |
| |
119 | 123 |
| |
120 | 124 |
| |
121 | 125 |
| |
122 | 126 |
| |
123 | 127 |
| |
124 |
| - | |
| 128 | + | |
125 | 129 |
| |
126 | 130 |
| |
127 | 131 |
| |
| |||
143 | 147 |
| |
144 | 148 |
| |
145 | 149 |
| |
146 |
| - | |
| 150 | + | |
147 | 151 |
| |
148 | 152 |
| |
149 | 153 |
| |
| |||
159 | 163 |
| |
160 | 164 |
| |
161 | 165 |
| |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
162 | 191 |
| |
163 | 192 |
| |
164 | 193 |
| |
165 | 194 |
| |
166 | 195 |
| |
167 | 196 |
| |
168 | 197 |
| |
169 |
| - | |
| 198 | + | |
170 | 199 |
| |
171 | 200 |
| |
172 | 201 |
| |
|
You can’t perform that action at this time.
0 commit comments