summaryrefslogtreecommitdiff
path: root/src/static-cube.cpp
blob: 0c8e3264860fd4b36228dcdda84703f2d1ccb489 (plain)
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

#include "static-cube.hpp"

IntrinsicShapeCube pkeIntrinsicsCube {
	.vert = {
		{-1, -1, -1},
		{-1, -1, 1},
		{-1, 1, 1},
		{-1, 1, -1},
		{1, 1, 1},
		{1, 1, -1},
		{1, -1, -1},
		{1, -1, 1},
	},
	.norm = {
		{-1, -1, -1},
		{-1, -1, 1},
		{-1, 1, 1},
		{-1, 1, -1},
		{1, 1, 1},
		{1, 1, -1},
		{1, -1, -1},
		{1, -1, 1},
	},
	.uv = {
		{0, 0},
		{0, 1},
		{1, 0},
		{1, 1},
		{0, 0},
		{0, 1},
		{1, 0},
		{1, 1},
	},
	.index = {
		0, 1, 2,
		5, 0, 3,
		7, 0, 6,
		5, 6, 0,
		0, 2, 3,
		7, 1, 0,
		2, 1, 7,
		4, 6, 5,
		6, 4, 7,
		4, 5, 3,
		4, 3, 2,
		4, 2, 7,
	},
};