librashader/librashader-runtime-vk/src/draw_quad.rs

18 lines
355 B
Rust
Raw Normal View History

2022-12-22 14:03:38 +11:00
#[rustfmt::skip]
2022-12-11 17:06:28 +11:00
static VBO_OFFSCREEN_MVP: &[f32; 16] = &[
// Offscreen
2022-12-22 14:03:38 +11:00
-1.0, -1.0, 0.0, 0.0,
-1.0, 1.0, 0.0, 1.0,
1.0, -1.0, 1.0, 0.0,
1.0, 1.0, 1.0, 1.0,
2022-12-11 17:06:28 +11:00
];
2022-12-22 14:03:38 +11:00
#[rustfmt::skip]
2022-12-11 17:06:28 +11:00
static VBO_DEFAULT_FINAL_MVP: &[f32; 16] = &[
// Final
2022-12-22 14:03:38 +11:00
0.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 1.0,
1.0, 0.0, 1.0, 0.0,
1.0, 1.0, 1.0, 1.0,
2022-12-11 17:06:28 +11:00
];