-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindow.java
More file actions
54 lines (48 loc) · 1.57 KB
/
Window.java
File metadata and controls
54 lines (48 loc) · 1.57 KB
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
public final class Window{
public static final float[] vertices = {
-0.5f, 0.0f, 0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f,
-0.5f, 0.0f, 0.25f, 0.0f, 1.0f, 0.0f, 0.0f, 0.75f,
-0.4f, 0.0f, 0.25f, 0.0f, 1.0f, 0.0f, 0.1f, 0.75f,
-0.4f, 0.0f, 0.5f, 0.0f, 1.0f, 0.0f, 0.1f, 1.0f,
-0.5f, 0.0f, -0.25f, 0.0f, 1.0f, 0.0f, 0.0f, 0.25f,
-0.4f, 0.0f, -0.25f, 0.0f, 1.0f, 0.0f, 0.1f, 0.25f,
-0.5f, 0.0f, -0.5f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f,
-0.4f, 0.0f, -0.5f, 0.0f, 1.0f, 0.0f, 0.1f, 0.0f,
0.4f, 0.0f, -0.5f, 0.0f, 1.0f, 0.0f, 0.9f, 0.0f,
0.4f, 0.0f, -0.25f, 0.0f, 1.0f, 0.0f, 0.9f, 0.25f,
0.5f, 0.0f, -0.5f, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f,
0.5f, 0.0f, -0.25f, 0.0f, 1.0f, 0.0f, 1.0f, 0.25f,
0.5f, 0.0f, 0.25f, 0.0f, 1.0f, 0.0f, 1.0f, 0.75f,
0.4f, 0.0f, 0.25f, 0.0f, 1.0f, 0.0f, 0.9f, 0.75f,
0.5f, 0.0f, 0.5f, 0.0f, 1.0f, 0.0f, 1.0f, 1.0f,
0.4f, 0.0f, 0.5f, 0.0f, 1.0f, 0.0f, 0.9f, 1.0f
};
public static final float[] verticesGlass = {
-0.4f, 0.0f, 0.25f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f,
-0.4f, 0.0f, -0.25f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f,
0.4f, 0.0f, -0.25f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f,
0.4f, 0.0f, 0.25f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f
};
public static final int[] indicesWall = {
0, 1, 3,
1, 2, 3,
1, 4, 2,
4, 5, 2,
4, 6, 5,
6, 7, 5,
5, 7, 9,
9, 7, 8,
8, 10, 11,
9, 8, 11,
9, 11, 12,
13, 9, 12,
13, 12, 14,
15, 13, 14,
3, 2, 15,
2, 13, 15
};
public static final int[] indicesWindow = {
0, 1, 2,
3, 0, 2
};
}