summaryrefslogtreecommitdiffstats
path: root/hacks/glx/toast.c
diff options
context:
space:
mode:
Diffstat (limited to 'hacks/glx/toast.c')
-rw-r--r--hacks/glx/toast.c190
1 files changed, 190 insertions, 0 deletions
diff --git a/hacks/glx/toast.c b/hacks/glx/toast.c
new file mode 100644
index 0000000..eb84601
--- /dev/null
+++ b/hacks/glx/toast.c
@@ -0,0 +1,190 @@
+/* Generated from "toast.dxf" on Aug-22-2014.
+ Smoothed vertex normals. Normalized to unit bounding box.
+ */
+
+#include "gllist.h"
+
+static const float toast_data[] = {
+ 0,-1,0,0.391859,-0.5,0.047937,
+ 0,-1,0,-0.3866,-0.5,-0.047937,
+ 0,-1,0,0.391859,-0.5,-0.047937,
+ 0,-1,0,-0.3866,-0.5,-0.047937,
+ 0,-1,0,0.391859,-0.5,0.047937,
+ 0,-1,0,-0.3866,-0.5,0.047937,
+ 0.794299,-0.607527,0,0.448134,-0.426425,-0.047937,
+ 0.794299,-0.607527,0,0.391859,-0.5,0.047937,
+ 0.794299,-0.607527,0,0.391859,-0.5,-0.047937,
+ 0.794299,-0.607527,0,0.391859,-0.5,0.047937,
+ 0.794299,-0.607527,0,0.448134,-0.426425,-0.047937,
+ 0.794299,-0.607527,0,0.448134,-0.426425,0.047937,
+ 1,0,0,0.448134,0.061584,-0.047937,
+ 1,0,0,0.448134,-0.426425,0.047937,
+ 1,0,0,0.448134,-0.426425,-0.047937,
+ 1,0,0,0.448134,-0.426425,0.047937,
+ 1,0,0,0.448134,0.061584,-0.047937,
+ 1,0,0,0.448134,0.061584,0.047937,
+ -0.951883,0.306462,0,-0.3866,0.438467,0.047937,
+ -0.978441,0.206528,0,-0.448134,0.247342,-0.047937,
+ -0.994654,0.103264,0,-0.448134,0.247342,0.047937,
+ -0.978441,0.206528,0,-0.448134,0.247342,-0.047937,
+ -0.951883,0.306462,0,-0.3866,0.438467,0.047937,
+ -0.951883,0.306462,0,-0.3866,0.438467,-0.047937,
+ -0.994654,0.103264,0,-0.448134,0.247342,0.047937,
+ -1,0,0,-0.448134,0.184705,-0.047937,
+ -1,0,0,-0.448134,0.184705,0.047937,
+ -1,0,0,-0.448134,0.184705,-0.047937,
+ -0.994654,0.103264,0,-0.448134,0.247342,0.047937,
+ -0.978441,0.206528,0,-0.448134,0.247342,-0.047937,
+ -0.306512,0.951867,0,-0.3866,0.438467,0.047937,
+ -0.206563,0.978433,0,-0.195512,0.5,-0.047937,
+ -0.306512,0.951867,0,-0.3866,0.438467,-0.047937,
+ -0.206563,0.978433,0,-0.195512,0.5,-0.047937,
+ -0.306512,0.951867,0,-0.3866,0.438467,0.047937,
+ -0.103281,0.994652,0,-0.195512,0.5,0.047937,
+ 0.994378,0.105891,0,0.448134,0.247342,-0.047937,
+ 1,0,0,0.448134,0.184705,0.047937,
+ 1,0,0,0.448134,0.184705,-0.047937,
+ 1,0,0,0.448134,0.184705,0.047937,
+ 0.994378,0.105891,0,0.448134,0.247342,-0.047937,
+ 0.977317,0.211783,0,0.448134,0.247342,0.047937,
+ 0.949396,0.314082,0,0.384905,0.438467,-0.047937,
+ 0.977317,0.211783,0,0.448134,0.247342,0.047937,
+ 0.994378,0.105891,0,0.448134,0.247342,-0.047937,
+ 0.977317,0.211783,0,0.448134,0.247342,0.047937,
+ 0.949396,0.314082,0,0.384905,0.438467,-0.047937,
+ 0.949396,0.314082,0,0.384905,0.438467,0.047937,
+ 0,0,-1,-0.3866,0.438467,-0.047937,
+ 0,0,-1,-0.448134,0.184705,-0.047937,
+ 0,0,-1,-0.448134,0.247342,-0.047937,
+ 0,0,-1,-0.448134,0.184705,-0.047937,
+ 0,0,-1,-0.3866,0.438467,-0.047937,
+ 0,0,-1,-0.394142,0.122068,-0.047937,
+ 0,0,-1,0.448134,0.247342,-0.047937,
+ 0,0,-1,0.384905,0.122068,-0.047937,
+ 0,0,-1,0.384905,0.438467,-0.047937,
+ 0,0,-1,0.384905,0.122068,-0.047937,
+ 0,0,-1,0.448134,0.247342,-0.047937,
+ 0,0,-1,0.448134,0.184705,-0.047937,
+ 0,0,-1,-0.394142,0.122068,-0.047937,
+ 0,0,-1,-0.448134,-0.426425,-0.047937,
+ 0,0,-1,-0.448134,0.061584,-0.047937,
+ 0,0,-1,-0.448134,-0.426425,-0.047937,
+ 0,0,-1,-0.394142,0.122068,-0.047937,
+ 0,0,-1,-0.3866,-0.5,-0.047937,
+ 0,0,-1,-0.3866,-0.5,-0.047937,
+ 0,0,-1,-0.394142,0.122068,-0.047937,
+ 0,0,-1,-0.3866,0.438467,-0.047937,
+ 0,0,-1,-0.3866,-0.5,-0.047937,
+ 0,0,-1,-0.3866,0.438467,-0.047937,
+ 0,0,-1,-0.195512,0.5,-0.047937,
+ 0,0,-1,-0.3866,-0.5,-0.047937,
+ 0,0,-1,-0.195512,0.5,-0.047937,
+ 0,0,-1,0.391859,-0.5,-0.047937,
+ 0,0,-1,0.391859,-0.5,-0.047937,
+ 0,0,-1,-0.195512,0.5,-0.047937,
+ 0,0,-1,0.193226,0.5,-0.047937,
+ 0,0,-1,0.391859,-0.5,-0.047937,
+ 0,0,-1,0.193226,0.5,-0.047937,
+ 0,0,-1,0.384905,0.122068,-0.047937,
+ 0,0,-1,0.384905,0.122068,-0.047937,
+ 0,0,-1,0.193226,0.5,-0.047937,
+ 0,0,-1,0.384905,0.438467,-0.047937,
+ 0,0,-1,0.391859,-0.5,-0.047937,
+ 0,0,-1,0.384905,0.122068,-0.047937,
+ 0,0,-1,0.448134,0.061584,-0.047937,
+ 0,0,-1,0.391859,-0.5,-0.047937,
+ 0,0,-1,0.448134,0.061584,-0.047937,
+ 0,0,-1,0.448134,-0.426425,-0.047937,
+ 0.205973,0.978558,0,0.193226,0.5,0.047937,
+ 0.305656,0.952142,0,0.384905,0.438467,-0.047937,
+ 0.102986,0.994683,0,0.193226,0.5,-0.047937,
+ 0.305656,0.952142,0,0.384905,0.438467,-0.047937,
+ 0.205973,0.978558,0,0.193226,0.5,0.047937,
+ 0.305656,0.952142,0,0.384905,0.438467,0.047937,
+ -0.103281,0.994652,0,-0.195512,0.5,0.047937,
+ 0.102986,0.994683,0,0.193226,0.5,-0.047937,
+ -0.206563,0.978433,0,-0.195512,0.5,-0.047937,
+ 0.102986,0.994683,0,0.193226,0.5,-0.047937,
+ -0.103281,0.994652,0,-0.195512,0.5,0.047937,
+ 0.205973,0.978558,0,0.193226,0.5,0.047937,
+ 0.691249,0.722617,0,0.384905,0.122068,0.047937,
+ 0.691249,0.722617,0,0.448134,0.061584,-0.047937,
+ 0.691249,0.722617,0,0.384905,0.122068,-0.047937,
+ 0.691249,0.722617,0,0.448134,0.061584,-0.047937,
+ 0.691249,0.722617,0,0.384905,0.122068,0.047937,
+ 0.691249,0.722617,0,0.448134,0.061584,0.047937,
+ -1,0,0,-0.448134,0.061584,0.047937,
+ -1,0,0,-0.448134,-0.426425,-0.047937,
+ -1,0,0,-0.448134,-0.426425,0.047937,
+ -1,0,0,-0.448134,-0.426425,-0.047937,
+ -1,0,0,-0.448134,0.061584,0.047937,
+ -1,0,0,-0.448134,0.061584,-0.047937,
+ -0.767086,-0.641544,0,-0.448134,-0.426425,0.047937,
+ -0.767086,-0.641544,0,-0.3866,-0.5,-0.047937,
+ -0.767086,-0.641544,0,-0.3866,-0.5,0.047937,
+ -0.767086,-0.641544,0,-0.3866,-0.5,-0.047937,
+ -0.767086,-0.641544,0,-0.448134,-0.426425,0.047937,
+ -0.767086,-0.641544,0,-0.448134,-0.426425,-0.047937,
+ 0.703773,-0.710425,0,0.448134,0.184705,0.047937,
+ 0.703773,-0.710425,0,0.384905,0.122068,-0.047937,
+ 0.703773,-0.710425,0,0.448134,0.184705,-0.047937,
+ 0.703773,-0.710425,0,0.384905,0.122068,-0.047937,
+ 0.703773,-0.710425,0,0.448134,0.184705,0.047937,
+ 0.703773,-0.710425,0,0.384905,0.122068,0.047937,
+ -0.746008,0.665937,0,-0.394142,0.122068,0.047937,
+ -0.746008,0.665937,0,-0.448134,0.061584,-0.047937,
+ -0.746008,0.665937,0,-0.448134,0.061584,0.047937,
+ -0.746008,0.665937,0,-0.448134,0.061584,-0.047937,
+ -0.746008,0.665937,0,-0.394142,0.122068,0.047937,
+ -0.746008,0.665937,0,-0.394142,0.122068,-0.047937,
+ -0.757441,-0.652904,0,-0.448134,0.184705,0.047937,
+ -0.757441,-0.652904,0,-0.394142,0.122068,-0.047937,
+ -0.757441,-0.652904,0,-0.394142,0.122068,0.047937,
+ -0.757441,-0.652904,0,-0.394142,0.122068,-0.047937,
+ -0.757441,-0.652904,0,-0.448134,0.184705,0.047937,
+ -0.757441,-0.652904,0,-0.448134,0.184705,-0.047937,
+ 0,0,1,-0.3866,-0.5,0.047937,
+ 0,0,1,-0.448134,0.061584,0.047937,
+ 0,0,1,-0.448134,-0.426425,0.047937,
+ 0,0,1,-0.448134,0.061584,0.047937,
+ 0,0,1,-0.3866,-0.5,0.047937,
+ 0,0,1,-0.394142,0.122068,0.047937,
+ 0,0,1,-0.394142,0.122068,0.047937,
+ 0,0,1,-0.448134,0.247342,0.047937,
+ 0,0,1,-0.448134,0.184705,0.047937,
+ 0,0,1,-0.448134,0.247342,0.047937,
+ 0,0,1,-0.394142,0.122068,0.047937,
+ 0,0,1,-0.3866,0.438467,0.047937,
+ 0,0,1,-0.3866,0.438467,0.047937,
+ 0,0,1,-0.394142,0.122068,0.047937,
+ 0,0,1,-0.3866,-0.5,0.047937,
+ 0,0,1,-0.3866,0.438467,0.047937,
+ 0,0,1,-0.3866,-0.5,0.047937,
+ 0,0,1,0.391859,-0.5,0.047937,
+ 0,0,1,-0.3866,0.438467,0.047937,
+ 0,0,1,0.391859,-0.5,0.047937,
+ 0,0,1,-0.195512,0.5,0.047937,
+ 0,0,1,-0.195512,0.5,0.047937,
+ 0,0,1,0.391859,-0.5,0.047937,
+ 0,0,1,0.193226,0.5,0.047937,
+ 0,0,1,0.193226,0.5,0.047937,
+ 0,0,1,0.391859,-0.5,0.047937,
+ 0,0,1,0.384905,0.122068,0.047937,
+ 0,0,1,0.193226,0.5,0.047937,
+ 0,0,1,0.384905,0.122068,0.047937,
+ 0,0,1,0.384905,0.438467,0.047937,
+ 0,0,1,0.384905,0.122068,0.047937,
+ 0,0,1,0.391859,-0.5,0.047937,
+ 0,0,1,0.448134,0.061584,0.047937,
+ 0,0,1,0.448134,0.061584,0.047937,
+ 0,0,1,0.391859,-0.5,0.047937,
+ 0,0,1,0.448134,-0.426425,0.047937,
+ 0,0,1,0.384905,0.122068,0.047937,
+ 0,0,1,0.448134,0.247342,0.047937,
+ 0,0,1,0.384905,0.438467,0.047937,
+ 0,0,1,0.448134,0.247342,0.047937,
+ 0,0,1,0.384905,0.122068,0.047937,
+ 0,0,1,0.448134,0.184705,0.047937
+};
+static const struct gllist toast_frame = { GL_N3F_V3F, GL_TRIANGLES, 180, toast_data, 0 };
+const struct gllist *toast = &toast_frame;