-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Area of icosphere mesh triangles is inconsistent #12480
Comments
Can you attach a screenshot of the wireframe of one of these generated icospheres? That may give us a better sense of what's wrong. |
Couldn't there be defined indices? |
Yeah you're right, I didn't know about that so my fault. |
Update:
|
Bevy version
0.13
What you did
I've noticed that the mesh generated by
Sphere
is not containing equally sized triangles.See below for the minimal required code.
Sphere::default().mesh()
creates aSphereMeshBuilder
withSphereMeshBuilder::kind == SphereKind::Ico
.As normally expected, the documentation for
SphereKind::Ico
states:However, I couldn't validate this with following code:
The formula for calculating the area of the triangle can be found here for example: 1 2
The text was updated successfully, but these errors were encountered: