Added mesh type and updated colors
This commit is contained in:
@@ -4,10 +4,7 @@
|
||||
|
||||
namespace PB::Renderer
|
||||
{
|
||||
struct Vertex2D
|
||||
{
|
||||
float x, y;
|
||||
};
|
||||
struct Mesh;
|
||||
|
||||
class VulkanManager
|
||||
{
|
||||
@@ -95,7 +92,7 @@ namespace PB::Renderer
|
||||
*/
|
||||
static bool RenderPass(GLFWwindow* window);
|
||||
|
||||
static void CreateNewRenderObject(Color color, const std::vector<float>& vertices, const std::vector<uint32_t>& indices);
|
||||
static void CreateNewRenderObject(Color color, Mesh mesh);
|
||||
|
||||
private:
|
||||
// === Internal helper structs === //
|
||||
|
||||
Reference in New Issue
Block a user