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