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

MeshBuilder::with_prim_type does nothing #276

Open
sadmac7000 opened this issue Apr 16, 2020 · 2 comments
Open

MeshBuilder::with_prim_type does nothing #276

sadmac7000 opened this issue Apr 16, 2020 · 2 comments

Comments

@sadmac7000
Copy link

No matter what is passed to with_prim_type, the primitive type is always Triangles.

I'm not that familiar with the code base, but I poked around and from what I can see the primitive type isn't attached to anything. It's assigned in the mesh but never really used.

@zakarumych
Copy link
Member

Yeah. That's because pipeline dictates primitive type. Mesh can't do anything more than checking that pipeline was built with correct primitive type.

@sadmac7000
Copy link
Author

I'm coming to see that. This is a bug in amethyst_renderer, not rendy specifically. It pushes everything through the same pipeline.

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

No branches or pull requests

2 participants