ミラー

This commit is contained in:
2026-04-28 17:17:33 +09:00
commit 048335800e
23 changed files with 16142 additions and 0 deletions

40
include/vector.h Normal file
View File

@@ -0,0 +1,40 @@
#pragma once
typedef union {
struct {
float x;
float y;
};
struct {
float u;
float v;
};
} Vector2;
typedef union {
struct {
float x;
float y;
float z;
};
struct {
float r;
float g;
float b;
};
} Vector3;
typedef union {
struct {
float x;
float y;
float z;
float w;
};
struct {
float r;
float g;
float b;
float a;
};
} Vector4;