d3d11/vk: fix default mvp
This commit is contained in:
parent
43b7d6fb53
commit
b0dde6eda2
|
@ -7,7 +7,7 @@ use windows::Win32::Graphics::Direct3D11::D3D11_VIEWPORT;
|
||||||
static DEFAULT_MVP: &[f32; 16] = &[
|
static DEFAULT_MVP: &[f32; 16] = &[
|
||||||
2f32, 0.0, 0.0, 0.0,
|
2f32, 0.0, 0.0, 0.0,
|
||||||
0.0, 2.0, 0.0, 0.0,
|
0.0, 2.0, 0.0, 0.0,
|
||||||
0.0, 0.0, 2.0, 0.0,
|
0.0, 0.0, 0.0, 0.0,
|
||||||
-1.0, -1.0, 0.0, 1.0,
|
-1.0, -1.0, 0.0, 1.0,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ use crate::framebuffer::OutputImage;
|
||||||
pub(crate) static DEFAULT_MVP: &[f32; 16] = &[
|
pub(crate) static DEFAULT_MVP: &[f32; 16] = &[
|
||||||
2f32, 0.0, 0.0, 0.0,
|
2f32, 0.0, 0.0, 0.0,
|
||||||
0.0, 2.0, 0.0, 0.0,
|
0.0, 2.0, 0.0, 0.0,
|
||||||
0.0, 0.0, 2.0, 0.0,
|
0.0, 0.0, 0.0, 0.0,
|
||||||
-1.0, -1.0, 0.0, 1.0,
|
-1.0, -1.0, 0.0, 1.0,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue