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

Vital mesh vertex_array has inconsistent dimension template #1638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

willdunklin
Copy link
Collaborator

mesh.h's mesh_vertex_array<d> claims to be an array of vertices of dimension d, however the typedef for the internal vertex representation vert_t is hardcoded to have a dimension of 3.

It seems to me that the internal representation should either reflect the description provided in the doc comments, or the template should be removed entirely. I can only find one use case where mesh_vertex_array<d> is used with a d != 3 here, and the fact that d = 2 has no effect on the usage.

@willdunklin willdunklin requested review from OwenMcGee and mleotta June 27, 2022 15:14
@kwcvrobot
Copy link
Collaborator

@kwcvrobot
Copy link
Collaborator

@kwcvrobot
Copy link
Collaborator

@kwcvrobot
Copy link
Collaborator

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