aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_hide.rs
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-06-09 00:30:12 -0400
committerbnewbold <bnewbold@robocracy.org>2016-06-09 00:30:12 -0400
commita5e56fc6eaeca787827145eedfdfc1aa5ec6ed78 (patch)
tree101773306e2029e7aeb9a4de776371c4bd908b0b /src/cow_hide.rs
parentc630ab9996b052dc59ea166006df40195f776a30 (diff)
downloadexuberant-hacks-a5e56fc6eaeca787827145eedfdfc1aa5ec6ed78.tar.gz
exuberant-hacks-a5e56fc6eaeca787827145eedfdfc1aa5ec6ed78.zip
draw all the parts of the cow
Diffstat (limited to 'src/cow_hide.rs')
-rw-r--r--src/cow_hide.rs9
1 files changed, 2 insertions, 7 deletions
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),