Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | pmbaty | 1 | // Auto generated file. |
2 | static const char RESOURCES_3D_VERT_GLSL[] = |
||
3 | { |
||
4 | 0x23, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x31, 0x34, 0x30, 0x0a, 0x23, 0x65, 0x78, |
||
5 | 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x47, 0x4c, 0x5f, 0x41, 0x52, 0x42, 0x5f, 0x65, |
||
6 | 0x78, 0x70, 0x6c, 0x69, 0x63, 0x69, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x5f, 0x6c, |
||
7 | 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x3a, 0x20, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, |
||
8 | 0x65, 0x0a, 0x0a, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x20, 0x28, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
||
9 | 0x69, 0x6f, 0x6e, 0x20, 0x3d, 0x20, 0x30, 0x29, 0x20, 0x69, 0x6e, 0x20, 0x76, 0x65, 0x63, 0x33, |
||
10 | 0x20, 0x61, 0x5f, 0x70, 0x6f, 0x73, 0x3b, 0x0a, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x20, 0x28, |
||
11 | 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x3d, 0x20, 0x31, 0x29, 0x20, 0x69, 0x6e, |
||
12 | 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x61, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x3b, 0x0a, |
||
13 | 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x20, 0x28, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
||
14 | 0x20, 0x3d, 0x20, 0x32, 0x29, 0x20, 0x69, 0x6e, 0x20, 0x76, 0x65, 0x63, 0x32, 0x20, 0x61, 0x5f, |
||
15 | 0x75, 0x76, 0x3b, 0x0a, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x20, 0x28, 0x6c, 0x6f, 0x63, 0x61, |
||
16 | 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x3d, 0x20, 0x33, 0x29, 0x20, 0x69, 0x6e, 0x20, 0x66, 0x6c, 0x6f, |
||
17 | 0x61, 0x74, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3b, 0x0a, 0x0a, 0x6f, 0x75, 0x74, |
||
18 | 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x76, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x5f, 0x70, 0x6f, 0x73, |
||
19 | 0x3b, 0x0a, 0x6f, 0x75, 0x74, 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x76, 0x5f, 0x6e, 0x6f, 0x72, |
||
20 | 0x6d, 0x61, 0x6c, 0x3b, 0x0a, 0x6f, 0x75, 0x74, 0x20, 0x76, 0x65, 0x63, 0x32, 0x20, 0x76, 0x5f, |
||
21 | 0x74, 0x65, 0x78, 0x5f, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x3b, 0x0a, 0x6f, 0x75, 0x74, 0x20, 0x66, |
||
22 | 0x6c, 0x6f, 0x61, 0x74, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3b, 0x0a, 0x0a, 0x75, |
||
23 | 0x6e, 0x69, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x6d, 0x61, 0x74, 0x34, 0x20, 0x75, 0x5f, 0x6d, 0x6f, |
||
24 | 0x64, 0x65, 0x6c, 0x3b, 0x0a, 0x75, 0x6e, 0x69, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x6d, 0x61, 0x74, |
||
25 | 0x34, 0x20, 0x75, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x3b, 0x0a, 0x75, 0x6e, 0x69, 0x66, 0x6f, 0x72, |
||
26 | 0x6d, 0x20, 0x6d, 0x61, 0x74, 0x34, 0x20, 0x75, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
||
27 | 0x69, 0x6f, 0x6e, 0x3b, 0x0a, 0x75, 0x6e, 0x69, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x75, 0x69, 0x6e, |
||
28 | 0x74, 0x20, 0x75, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x61, |
||
29 | 0x67, 0x73, 0x3b, 0x0a, 0x75, 0x6e, 0x69, 0x66, 0x6f, 0x72, 0x6d, 0x20, 0x6d, 0x61, 0x74, 0x34, |
||
30 | 0x20, 0x75, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, |
||
31 | 0x3b, 0x0a, 0x0a, 0x2f, 0x2f, 0x20, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x66, |
||
32 | 0x6c, 0x61, 0x67, 0x73, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x0a, 0x63, 0x6f, 0x6e, 0x73, |
||
33 | 0x74, 0x20, 0x75, 0x69, 0x6e, 0x74, 0x20, 0x42, 0x52, 0x5f, 0x4d, 0x41, 0x54, 0x46, 0x5f, 0x45, |
||
34 | 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x20, 0x3d, 0x20, 0x30, |
||
35 | 0x78, 0x31, 0x30, 0x75, 0x3b, 0x0a, 0x0a, 0x2f, 0x2f, 0x20, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, |
||
36 | 0x2f, 0x2f, 0x72, 0x72, 0x32, 0x30, 0x30, 0x30, 0x2e, 0x63, 0x77, 0x61, 0x62, 0x6f, 0x61, 0x72, |
||
37 | 0x64, 0x2e, 0x63, 0x6f, 0x2e, 0x75, 0x6b, 0x2f, 0x52, 0x34, 0x2f, 0x42, 0x52, 0x45, 0x4e, 0x44, |
||
38 | 0x45, 0x52, 0x2f, 0x54, 0x45, 0x42, 0x4b, 0x5f, 0x34, 0x33, 0x2e, 0x48, 0x54, 0x4d, 0x23, 0x48, |
||
39 | 0x45, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x33, 0x33, 0x31, 0x0a, 0x2f, 0x2f, 0x20, 0x68, 0x74, 0x74, |
||
40 | 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x74, 0x6f, |
||
41 | 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x6c, 0x6f, 0x67, |
||
42 | 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x2d, 0x73, 0x70, 0x68, 0x65, 0x72, 0x69, |
||
43 | 0x63, 0x61, 0x6c, 0x2d, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2d, |
||
44 | 0x6d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2d, 0x73, 0x68, 0x61, 0x64, 0x65, 0x72, 0x2f, 0x0a, |
||
45 | 0x76, 0x6f, 0x69, 0x64, 0x20, 0x64, 0x6f, 0x5f, 0x73, 0x70, 0x68, 0x65, 0x72, 0x69, 0x63, 0x61, |
||
46 | 0x6c, 0x5f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, |
||
47 | 0x70, 0x28, 0x76, 0x6f, 0x69, 0x64, 0x29, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x6d, 0x61, |
||
48 | 0x74, 0x34, 0x20, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x20, 0x3d, 0x20, |
||
49 | 0x75, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x20, 0x2a, 0x20, 0x75, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, |
||
50 | 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x65, 0x20, 0x3d, 0x20, 0x6e, |
||
51 | 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x28, 0x20, 0x76, 0x65, 0x63, 0x33, 0x28, 0x20, |
||
52 | 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x20, 0x2a, 0x20, 0x76, 0x65, 0x63, |
||
53 | 0x34, 0x28, 0x20, 0x61, 0x5f, 0x70, 0x6f, 0x73, 0x2c, 0x20, 0x31, 0x2e, 0x30, 0x20, 0x29, 0x20, |
||
54 | 0x29, 0x20, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x6e, 0x20, |
||
55 | 0x3d, 0x20, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x28, 0x20, 0x6d, 0x61, 0x74, |
||
56 | 0x33, 0x28, 0x75, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x72, 0x69, |
||
57 | 0x78, 0x29, 0x20, 0x2a, 0x20, 0x61, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x20, 0x29, 0x3b, |
||
58 | 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x65, 0x63, 0x33, 0x20, 0x72, 0x20, 0x3d, 0x20, 0x72, 0x65, |
||
59 | 0x66, 0x6c, 0x65, 0x63, 0x74, 0x28, 0x20, 0x65, 0x2c, 0x20, 0x6e, 0x20, 0x29, 0x3b, 0x0a, 0x20, |
||
60 | 0x20, 0x20, 0x20, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x20, 0x6d, 0x20, 0x3d, 0x20, 0x32, 0x2e, 0x20, |
||
61 | 0x2a, 0x20, 0x73, 0x71, 0x72, 0x74, 0x28, 0x20, 0x70, 0x6f, 0x77, 0x28, 0x20, 0x72, 0x2e, 0x78, |
||
62 | 0x2c, 0x20, 0x32, 0x2e, 0x20, 0x29, 0x20, 0x2b, 0x20, 0x70, 0x6f, 0x77, 0x28, 0x20, 0x72, 0x2e, |
||
63 | 0x79, 0x2c, 0x20, 0x32, 0x2e, 0x20, 0x29, 0x20, 0x2b, 0x20, 0x70, 0x6f, 0x77, 0x28, 0x20, 0x72, |
||
64 | 0x2e, 0x7a, 0x20, 0x2b, 0x20, 0x31, 0x2e, 0x2c, 0x20, 0x32, 0x2e, 0x20, 0x29, 0x20, 0x29, 0x3b, |
||
65 | 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x5f, 0x74, 0x65, 0x78, 0x5f, 0x63, 0x6f, 0x6f, 0x72, 0x64, |
||
66 | 0x20, 0x3d, 0x20, 0x72, 0x2e, 0x78, 0x79, 0x20, 0x2f, 0x20, 0x6d, 0x20, 0x2b, 0x20, 0x2e, 0x35, |
||
67 | 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x76, 0x6f, 0x69, 0x64, 0x20, 0x6d, 0x61, 0x69, 0x6e, 0x28, 0x76, |
||
68 | 0x6f, 0x69, 0x64, 0x29, 0x20, 0x7b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x5f, 0x66, 0x72, 0x61, |
||
69 | 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x20, 0x3d, 0x20, 0x76, 0x65, 0x63, 0x33, 0x28, 0x75, 0x5f, 0x6d, |
||
70 | 0x6f, 0x64, 0x65, 0x6c, 0x20, 0x2a, 0x20, 0x76, 0x65, 0x63, 0x34, 0x28, 0x61, 0x5f, 0x70, 0x6f, |
||
71 | 0x73, 0x2c, 0x20, 0x31, 0x2e, 0x30, 0x29, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x5f, |
||
72 | 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x20, 0x3d, 0x20, 0x61, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, |
||
73 | 0x6c, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, 0x5f, 0x74, 0x65, 0x78, 0x5f, 0x63, 0x6f, 0x6f, |
||
74 | 0x72, 0x64, 0x20, 0x3d, 0x20, 0x61, 0x5f, 0x75, 0x76, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x76, |
||
75 | 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x20, 0x3d, 0x20, 0x61, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, |
||
76 | 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x67, 0x6c, 0x5f, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, |
||
77 | 0x6e, 0x20, 0x3d, 0x20, 0x75, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
||
78 | 0x20, 0x2a, 0x20, 0x75, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x20, 0x2a, 0x20, 0x76, 0x65, 0x63, 0x34, |
||
79 | 0x28, 0x76, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x2c, 0x20, 0x31, 0x2e, 0x30, |
||
80 | 0x29, 0x3b, 0x0a, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x69, 0x66, 0x20, 0x28, 0x28, 0x75, 0x5f, 0x6d, |
||
81 | 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x20, 0x26, 0x20, |
||
82 | 0x42, 0x52, 0x5f, 0x4d, 0x41, 0x54, 0x46, 0x5f, 0x45, 0x4e, 0x56, 0x49, 0x52, 0x4f, 0x4e, 0x4d, |
||
83 | 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x29, 0x20, 0x21, 0x3d, 0x20, 0x30, 0x75, 0x29, 0x20, 0x7b, 0x0a, |
||
84 | 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x64, 0x6f, 0x5f, 0x73, 0x70, 0x68, 0x65, 0x72, |
||
85 | 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, |
||
86 | 0x5f, 0x6d, 0x61, 0x70, 0x28, 0x29, 0x3b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x7d, 0x0a, 0x7d, 0x0a, |
||
87 | }; |