Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbid committed Feb 3, 2023
1 parent aae80de commit 3b41186
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions assets/cube.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#ifndef cube_H
#define cube_H

const GLfloat cube_vertices[] = {-0.712124,0.712124,-1,0.712124,-0.712124,-1,-0.712124,-0.712124,-1,-1,0.712124,0.712124,-1,-0.712124,-0.712124,-1,-0.712124,0.712124,0.712124,1,0.712124,-0.712124,1,-0.712124,-0.712124,1,0.712124,1,0.712124,-0.712124,1,-0.712124,0.712124,1,-0.712124,-0.712124,0.712124,0.712124,1,-0.712124,-0.712124,1,0.712124,-0.712124,1,0.712124,-1,-0.712124,0.712124,-0.712124,-1,1,-0.712124,-0.712124,0.712124,0.712124,-1,0.712124,1,-0.712124,1,0.712124,-0.712124,0.712124,-1,0.712124,1,-0.712124,0.712124,0.712124,-0.712124,1,0.712124,1,0.712124,0.712124,0.712124,1,1,0.712124,0.712124,-0.712124,-1,-0.712124,-1,-0.712124,-0.712124,-0.712124,-0.712124,-1,-0.712124,1,-0.712124,-0.712124,0.712124,-1,-1,0.712124,-0.712124,-0.712124,-1,0.712124,-0.712124,-0.712124,1,-1,-0.712124,0.712124,-0.712124,1,0.712124,-1,0.712124,0.712124,-0.712124,0.712124,1,0.712124,-1,-0.712124,1,-0.712124,0.712124,0.712124,-1,0.712124,0.712124,0.712124,-1,1,-0.712124,-0.712124,0.712124,-0.712124,-1,0.712124,1,0.712124,1,0.712124,-0.712124,0.712124,1,-0.712124,0.712124,-0.712124,1,1,0.712124,0.712124,0.712124,0.712124,1,0.712124,-1,0.712124,-0.712124,-0.712124,1,-0.712124,-1,0.712124,-0.712124,1,0.712124,0.712124,0.712124,1,0.712124,1,0.712124,-1,-0.712124,0.712124,-0.712124,0.712124,1,-1,0.712124,0.712124,-0.712124,-1,0.712124,-1,-0.712124,-0.712124,-0.712124,-1,-0.712124,-0.712124,1,-0.712124,-1,0.712124,0.712124,-0.712124,1,0.712124,-0.712124,-0.712124,-1,-1,0.712124,-0.712124,-0.712124,0.712124,-1,-0.712124,-1,-0.712124,0.712124,-0.712124,-1,0.712124,-1,-0.712124,0.712124,1,-0.712124,-0.712124,0.712124,-1,-0.712124,1,-0.712124,-0.712124,-1,0.712124,0.712124,-1,-0.712124,0.712124,-1,0.712124,0.712124,0.712124,-1,-1,0.712124,-0.712124,0.712124,1,-0.712124,1,0.712124,0.712124,-0.712124,0.712124,1,1,-0.712124,-0.712124,1,0.712124,-0.712124,1,0.712124,0.712124,1,-0.712124,0.712124,0.712124,-0.712124,1,-0.712124,0.712124,1,-0.712124,-0.712124,1,-1,-0.712124,0.712124,-1,0.712124,-0.712124,-1,-0.712124,-0.712124,-0.712124,-0.712124,-1,0.712124,0.712124,-1,-0.712124,-1,-0.712124};
const GLfloat cube_normals[] = {0,0,-1,0,0,-1,0,0,-1,-1,0,0,-1,0,0,-1,0,0,-0,1,0,-0,1,0,-0,1,0,1,-0,0,1,-0,0,1,-0,0,0,-0,1,0,-0,1,0,-0,1,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,0.57735,0.57735,0.57735,0.57735,0.57735,0.57735,0.57735,0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,-0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,-0.57735,0.57735,0.57735,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0.707107,0,0.707107,0.707107,0,0.707107,0.707107,0,0.707107,0,0.707107,0.707107,0,0.707107,0.707107,0,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,0.707107,0.707107,0,0.707107,0.707107,0,0.707107,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0.707107,0,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,-0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,0,0.707107,-0.707107,-0,-1,-0,-0,-1,-0,-0,-1,-0,0,0,-1,-1,0,0,0,1,0,1,-0,0,0,0,1,0.707107,-0.707107,0,0.707107,0,-0.707107,0.707107,0.707107,-0,0.707107,0,0.707107,0,-0.707107,0.707107,0,0.707107,0.707107,-0.707107,0,0.707107,-0.707107,-0.707107,0,-0.707107,0.707107,0,-0.707107,-0,-0.707107,-0,-0.707107,-0.707107,0,0.707107,-0.707107,0,-1,0};
const GLushort cube_indices[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,0,78,1,3,79,4,6,80,7,9,81,10,12,82,13,39,83,40,42,84,43,45,85,46,48,86,49,51,87,52,54,88,55,57,89,58,60,90,61,63,91,64,66,92,67,69,93,70,72,94,73,75,95,76};
const GLsizeiptr cube_numind = 132;
const GLsizeiptr cube_numvert = 96;

#endif

0 comments on commit 3b41186

Please sign in to comment.