mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-05 12:17:53 -04:00
parent
d450fa5f62
commit
41f0a9b08b
@ -414,16 +414,16 @@ pub const MenuBackGround = struct {
|
|||||||
c.glUniform1i(uniforms.image, 0);
|
c.glUniform1i(uniforms.image, 0);
|
||||||
// 4 sides of a simple cube with some panorama texture on it.
|
// 4 sides of a simple cube with some panorama texture on it.
|
||||||
const rawData = [_]f32 {
|
const rawData = [_]f32 {
|
||||||
-1, -1, -1, 1, 1,
|
-1, 1, -1, 1, 1,
|
||||||
-1, -1, 1, 1, 0,
|
-1, 1, 1, 1, 0,
|
||||||
-1, 1, -1, 0.75, 1,
|
-1, -1, -1, 0.75, 1,
|
||||||
-1, 1, 1, 0.75, 0,
|
-1, -1, 1, 0.75, 0,
|
||||||
1, 1, -1, 0.5, 1,
|
1, -1, -1, 0.5, 1,
|
||||||
1, 1, 1, 0.5, 0,
|
1, -1, 1, 0.5, 0,
|
||||||
1, -1, -1, 0.25, 1,
|
1, 1, -1, 0.25, 1,
|
||||||
1, -1, 1, 0.25, 0,
|
1, 1, 1, 0.25, 0,
|
||||||
-1, -1, -1, 0, 1,
|
-1, 1, -1, 0, 1,
|
||||||
-1, -1, 1, 0, 0,
|
-1, 1, 1, 0, 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
const indices = [_]c_int {
|
const indices = [_]c_int {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user