#include "model.h" // .6 fixed-point struct vertex_position cube_positions[] = { {64, 64, -64}, {64, -64, -64}, {64, 64, 64}, {64, -64, 64}, {-64, 64, -64}, {-64, -64, -64}, {-64, 64, 64}, {-64, -64, 64}, }; // .15 fixed-point struct vertex_texture cube_textures[] = { {32768, 32768}, {0, 32768}, {0, 0}, {32768, 0}, }; // .9 fixed-point struct vertex_normal cube_normals[] = { {0, 512, 0}, {0, 0, 512}, {-512, 0, 0}, {0, -512, 0}, {512, 0, 0}, {0, 0, -512}, }; struct face cube_faces[] = { { {0, 0, 0}, {4, 1, 0}, {6, 2, 0}, {2, 3, 0}, }, { {3, 3, 1}, {2, 0, 1}, {6, 1, 1}, {7, 2, 1}, }, { {7, 2, 2}, {6, 1, 2}, {4, 0, 2}, {5, 3, 2}, }, { {5, 1, 3}, {1, 0, 3}, {3, 3, 3}, {7, 2, 3}, }, { {1, 3, 4}, {0, 0, 4}, {2, 1, 4}, {3, 2, 4}, }, { {5, 2, 5}, {4, 1, 5}, {0, 0, 5}, {1, 3, 5}, }, };