|
|
@ -210,13 +210,7 @@ impl Game<InWorld> {
|
|
|
|
.push_constants(camera, [*width, *height], base_color)
|
|
|
|
.push_constants(camera, [*width, *height], base_color)
|
|
|
|
.into_iter()
|
|
|
|
.into_iter()
|
|
|
|
.for_each(|(f, o, d)| {
|
|
|
|
.for_each(|(f, o, d)| {
|
|
|
|
dev.cmd_push_constants(
|
|
|
|
dev.cmd_push_constants(*cmd_buf, layout, f, o, d.as_ref());
|
|
|
|
*cmd_buf,
|
|
|
|
|
|
|
|
layout,
|
|
|
|
|
|
|
|
vk::ShaderStageFlags::VERTEX,
|
|
|
|
|
|
|
|
0,
|
|
|
|
|
|
|
|
d.as_ref(),
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
dev.cmd_draw(*cmd_buf, 36, 1, 0, 0);
|
|
|
|
dev.cmd_draw(*cmd_buf, 36, 1, 0, 0);
|
|
|
|