1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-15 21:17:44 +00:00
novus/apps/mapeditor/include/primitives.h

27 lines
500 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <vulkan/vulkan.h>
#include "buffer.h"
class RenderManager;
struct Sphere {
Buffer vertexBuffer, indexBuffer;
uint32_t indexCount;
};
class Primitives
{
public:
static void Initialize(RenderManager *renderer);
static void Cleanup(RenderManager *renderer);
static void DrawSphere(VkCommandBuffer commandBuffer);
static Sphere sphere;
};