+ {
+ CuboidShape shape({{ -0.25f, -0.5f, -0.25f }, { 0.25f, 0.5f, 0.25f }});
+ shape.Vertices(buf, 1.0f);
+ buf.colors.resize(shape.VertexCount(), { 1.0f, 1.0f, 0.0f });
+ models[0].Update(buf);
+ }
+ {
+ CuboidShape shape({{ -0.5f, -0.25f, -0.5f }, { 0.5f, 0.25f, 0.5f }});
+ buf.Clear();
+ shape.Vertices(buf, 2.0f);
+ buf.colors.resize(shape.VertexCount(), { 0.0f, 1.0f, 1.0f });
+ models[1].Update(buf);
+ }
+ {
+ StairShape shape({{ -0.5f, -0.5f, -0.5f }, { 0.5f, 0.5f, 0.5f }}, { 0.4f, 0.4f });