File size: 1,684 Bytes
8ebbcd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
transparent = True
is_cube = False
glass = False

colliders = []

vertex_positions = [
	[ 0.25,  0.4375,  0.50,   0.25, -0.5625,  0.50,   0.25, -0.5625, -0.50,   0.25,  0.4375, -0.50], # right
	[ 0.25,  0.4375, -0.50,   0.25, -0.5625, -0.50,   0.25, -0.5625,  0.50,   0.25,  0.4375,  0.50], # right
	[-0.25,  0.4375, -0.50,  -0.25, -0.5625, -0.50,  -0.25, -0.5625,  0.50,  -0.25,  0.4375,  0.50], # left
	[-0.25,  0.4375,  0.50,  -0.25, -0.5625,  0.50,  -0.25, -0.5625, -0.50,  -0.25,  0.4375, -0.50], # left
	[-0.50,  0.4375,  0.25,  -0.50, -0.5625,  0.25,   0.50, -0.5625,  0.25,   0.50,  0.4375,  0.25], # front
	[ 0.50,  0.4375,  0.25,   0.50, -0.5625,  0.25,  -0.50, -0.5625,  0.25,  -0.50,  0.4375,  0.25], # front
	[ 0.50,  0.4375, -0.25,   0.50, -0.5625, -0.25,  -0.50, -0.5625, -0.25,  -0.50,  0.4375, -0.25], # back
	[-0.50,  0.4375, -0.25,  -0.50, -0.5625, -0.25,   0.50, -0.5625, -0.25,   0.50,  0.4375, -0.25], # back
]

tex_coords = [
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
	[0.0, 1.0, 0.0,  0.0, 0.0, 0.0,  1.0, 0.0, 0.0,  1.0, 1.0, 0.0],
]

shading_values = [
	[0.6, 0.6, 0.6, 0.6],
	[0.6, 0.6, 0.6, 0.6],
	[0.6, 0.6, 0.6, 0.6],
	[0.6, 0.6, 0.6, 0.6],
	[0.8, 0.8, 0.8, 0.8],
	[0.8, 0.8, 0.8, 0.8],
	[0.8, 0.8, 0.8, 0.8],
	[0.8, 0.8, 0.8, 0.8],
]