CAM: show new cam simulator in main window

This commit is contained in:
jffmichi
2025-06-03 21:49:43 +02:00
parent 61de0ffa8f
commit 184c977677
19 changed files with 514 additions and 256 deletions

View File

@@ -27,12 +27,8 @@
namespace MillSim
{
int gWindowSizeW = 800;
int gWindowSizeH = 600;
int gDebug = -1;
mat4x4 identityMat = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}};
const mat4x4 identityMat = {{1, 0, 0, 0}, {0, 1, 0, 0}, {0, 0, 1, 0}, {0, 0, 0, 1}};
void GLClearError()
{
@@ -50,11 +46,4 @@ bool GLLogError()
return isError;
}
typedef struct Vertex
{
vec3 pos;
vec3 col;
} Vertex;
} // namespace MillSim