Skip to content
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

Add an example for projection #250

Merged
merged 18 commits into from
Sep 13, 2024
Merged

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Jul 31, 2024

This Pr also adds some common code for macroquad examples

Screencast.from.09-03-2024.11.56.59.AM.webm

@Vrixyz
Copy link
Contributor Author

Vrixyz commented Jul 31, 2024

now unrelevant remark

comment on 44c81cc#diff-29153b3f3e1c69433be25eaee50af1c1868263c95d46f2132ba1a1f7ba860e6cR10-R15

the vertices seem incorrect:

See (left = current indices ; right = indices order after transforming into convex polyheron, which works fine):

image

Copy link
Member

@sebcrozet sebcrozet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The point type selection needs to be simplified in cuboid_to_trimesh.rs, but looking good otherwise. Thanks!

src/transformation/to_trimesh/cuboid_to_trimesh.rs Outdated Show resolved Hide resolved
src/transformation/to_trimesh/cuboid_to_trimesh.rs Outdated Show resolved Hide resolved
crates/parry3d/examples/project_point3d.rs Outdated Show resolved Hide resolved
crates/parry3d/examples/project_point3d.rs Outdated Show resolved Hide resolved
@Vrixyz Vrixyz merged commit 217a567 into dimforge:master Sep 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants