adding in sandbox

This commit is contained in:
2026-10-04 01:03:47 -07:00
parent c99c720e55
commit 6cc8bf4262
6 changed files with 66 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <glm/mat4x4.hpp>
#include <glm/vec4.hpp>
#include <vector>
#define VK_CHECK(expr) \
do { \
vk::Result result_ = (expr); \
if (result_ != vk::Result::eSuccess) { \
std::fprintf(stderr, "%s:%d: %s -> %d\n", __FILE__, __LINE__, #expr, \
result_); \
std::abort(); \
} \
} while (0)
constexpr uint32_t WIDTH = 1280;
constexpr uint32_t HEIGHT = 720;
constexpr const char* NAME = "";
int main() { return EXIT_SUCCESS; }