27 Vertex{.
pos = {0.0f, -0.5f, 0.0f}, .normal = {1.0f, 0.0f, 0.0f}},
28 Vertex{.
pos = {0.5f, 0.5f, 0.0f}, .normal = {0.0f, 1.0f, 0.0f}},
29 Vertex{.
pos = {-0.5f, 0.5f, 0.0f}, .normal = {0.0f, 0.0f, 1.0f}},
33 Vertex{.
pos = {-0.5f, -0.5f, 0.0f}, .normal = {1.0f, 0.0f, 0.0f}},
34 Vertex{.
pos = {0.5f, -0.5f, 0.0f}, .normal = {0.0f, 1.0f, 0.0f}},
35 Vertex{.
pos = {0.5f, 0.5f, 0.0f}, .normal = {0.0f, 0.0f, 1.0f}},
36 Vertex{.
pos = {-0.5f, 0.5f, 0.0f}, .normal = {1.0f, 1.0f, 1.0f}}};
45 Mesh(
const std::vector<Vertex>& vertices,
46 const std::vector<uint16_t>& indices);
51 void draw(const ::vk::CommandBuffer& cmd)
const;
52 void bind(const ::vk::CommandBuffer& cmd)
const;