Created
August 21, 2014 10:57
-
-
Save tbillington/4513202d51a285a89e19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub enum VertexData { | |
GeoVert(GeometericVertex), | |
TexVert(TextureVertex), | |
VertNml(VertexNormals), | |
PmSVert(ParameterSpaceVertex), | |
} | |
impl fmt::Show for VertexData { | |
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | |
match *self { | |
_(x) => write!(f, "{}", x), | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment