-
Notifications
You must be signed in to change notification settings - Fork 41
Sequential Box<>Box #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Sequential Box<>Box #208
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Just one nit and we'll merge.
@@ -1718,6 +1730,497 @@ def capsule_box( | |||
) | |||
|
|||
|
|||
@wp.func | |||
def compute_rotmore(face_idx: int) -> wp.mat33: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: let's prepend the name with an underscore as we probably don't expect others to use this outside this module, no?
This is a reimplementation of box<>box, based on the mjc code rather than the mjx code. It is sequential and does not make use of tiles, but closer to mjc and may lead to lower thread divergence.
It fixes issues observed in #163