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

10 lines
297 B
Rust
Raw Normal View History

2022-12-11 17:06:28 +11:00
static VBO_OFFSCREEN_MVP: &[f32; 16] = &[
// Offscreen
2022-12-22 13:39:31 +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
];
static VBO_DEFAULT_FINAL_MVP: &[f32; 16] = &[
// Final
2022-12-22 13:39:31 +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
];