34 static const char r_skysidenames[6][3] = {
"rt",
"bk",
"lf",
"ft",
"up",
"dn" };
39 2, -128, 0, -128, 2, 128, 1, 128, 0, 128, 1, -128
42 1, 2, 3, 4, 1, 5, 6, 7, 8, 9, 6, 10, 2, 7, 9, 11, 12, 3, 11, 8, 12, 10, 5, 4
45 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1
48 1, 2, 2, 3, 3, 4, 4, 1, 1, 5, 5, 6, 6, 2, 7, 8, 8, 6, 5, 7, 8, 3, 7, 4
54 { {0, -1, 0}, { -1, 0, 0} },
55 { {0, 1, 0}, {0, 0, -1} },
56 { {0, -1, 0}, {1, 0, 0} },
57 { {1, 0, 0}, {0, 0, -1} },
58 { {0, -1, 0}, {0, 0, -1} },
59 { { -1, 0, 0}, {0, 0, -1} }
81 for (i = 0; i < 6; i++) {
99 for (i = 0; i < 24; i++) {
104 for (i = 0; i < 12; i++) {
129 for (i = 0; i < 8; i++)
130 for (j = 0; j < 3; j++)
134 for (i = 0; i < 6; i++)
141 for (i = 0; i < 6; i++) {
149 for (i = 0; i < 6; i++) {
160 void R_SetSky(
const char *name,
float rotate, vec3_t axis)
163 char path[MAX_QPATH];
168 for (i = 0; i < 6; i++) {
169 Q_concat(path,
sizeof(path),
"env/", name,