-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Example bounding sphere using macroquad #259
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.
Thanks! I mostly just looked at the bounding_sphere files, as I assume the other changes originate from the PRs this depends on.
let cube2 = Cuboid::new(Vector3::new(0.5, 1.0, 0.5)); | ||
|
||
let cube1_pos = na_from_mquad(lissajous_3d(elapsed_time)) * 4f32; | ||
let cube1_pos = Isometry3::translation(cube1_pos.x, cube1_pos.y, cube1_pos.z); |
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.
Does this work?
let cube1_pos = Isometry3::translation(cube1_pos.x, cube1_pos.y, cube1_pos.z); | |
let cube1_pos = Isometry3::from(cube1_pos); |
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.
It would be great to have comments for every function from this module.
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'll open a new PR for that
f3447e1
to
b68ed9d
Compare
Screencast.from.09-04-2024.10.50.47.AM.webm
Screencast.from.09-04-2024.02.55.32.PM.webm