Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Commit

Permalink
fix(polygon::Mesh): derive Clone impl for Mesh
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed Dec 10, 2015
1 parent a138504 commit 7fc1d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/polygon_rs/src/geometry/mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub type MeshIndex = u32;
///
/// Meshes are represented as list of vertex positions and a list of faces.
/// Each face is represented as 3 indices into the vertex array.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct Mesh {
vertex_data: Vec<f32>,
indices: Vec<MeshIndex>,
Expand Down

0 comments on commit 7fc1d2e

Please sign in to comment.