-
Notifications
You must be signed in to change notification settings - Fork 398
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
New code snippet for Transform3D demonstrating an animated hierarchy #6851
Conversation
Deployed docs
|
0af7c01
to
cf5413a
Compare
docs/snippets/snippets.toml
Outdated
@@ -135,7 +135,9 @@ quick_start = [ # These examples don't have exactly the same implementation. | |||
"py", | |||
"rust", | |||
] | |||
|
|||
"archetypes/transform3d_hierarchy" = [ # Uses a lot of trignometry which is suprisingly easy to get the same on Rust & C++, but not on Python/Numpy |
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.
I remember having to deal with these kinds of shenanigans in the past -- iirc it's because numpy defaults to f64 for every computation internally. I don't remember if there's an easy way to change that.
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.
yeah I tried to tell it to use f32 on its arrays, but it got fiddly - definitely got closer but not to the exact result
What
test_api
#3210Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerCHANGELOG.md
and the migration guideTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.