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 draw.mesh() API. Add simple_mesh.rs example. Add IntoVertex trait. #154

Merged
merged 4 commits into from Jun 11, 2018

Conversation

mitchmindtree
Copy link
Member

Allows for drawing a mesh via a sequence of triangles. The triangles can
be provided either as a sequence of Tri<V> or via a sequence of
vertices alongside a sequence of indices into those vertices.

The IntoDrawn trait API has been changed to allow for a more flexible
Indices type. The Indices type now has access to the Draw's
intermediary mesh each time the next index is requested.

The GeomVertexData has been changed to IntermediaryMesh and a
indices buffer has been added in order to support indexed vertices.
This will be useful for the draw.mesh() API.

An IntoVertex trait has been added which should aid in simplifying the
draw.mesh() API.

The `GeomVertexData` has been changed to `IntermediaryMesh` and a
`indices` buffer has been added in order to support indexed vertices.
This will be useful for the `draw.mesh()` API.

An `IntoVertex` trait has been added which should aid in simplifying the
`draw.mesh()` API.
Allows for drawing a mesh via a sequence of triangles. The triangles can
be provided either as a sequence of `Tri<V>` or via a sequence of
vertices alongside a sequence of indices into those vertices.

The `IntoDrawn` trait API has been changed to allow for a more flexible
`Indices` type. The `Indices` type now has access to the Draw's
intermediary mesh each time the next index is requested.
@mitchmindtree mitchmindtree merged commit 9980201 into nannou-org:master Jun 11, 2018
@mitchmindtree mitchmindtree deleted the draw_mesh branch June 11, 2018 19:52
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.

None yet

1 participant