From a5e56fc6eaeca787827145eedfdfc1aa5ec6ed78 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 9 Jun 2016 00:30:12 -0400 Subject: draw all the parts of the cow --- src/cow_hide.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/cow_hide.rs') diff --git a/src/cow_hide.rs b/src/cow_hide.rs index 86ef502..8e426af 100644 --- a/src/cow_hide.rs +++ b/src/cow_hide.rs @@ -2,14 +2,9 @@ // This file auto-generated from cow_hide.c using model_c2rs.py // Don't edit by hand! -#[derive(Copy, Clone)] -pub struct Vertex { - position: (f32, f32, f32), - normal: (f32, f32, f32), -} -implement_vertex!(Vertex, position, normal); +use cow_vertex::Vertex; -pub const cow_hide_vertices: [Vertex; 13049] = [ +pub const COW_HIDE_VERTICES: [Vertex; 13049] = [ Vertex { position: (2.229345, -0.992723, -0.862826), normal: (-0.012663, 0.029084, -0.999497), }, Vertex { position: (2.292449, -0.871852, -0.8824), -- cgit v1.2.3