feat: engine as library

This commit is contained in:
2025-10-16 19:43:51 +02:00
parent 165073c36d
commit aa7aafe944
42 changed files with 160 additions and 147 deletions

View File

@ -0,0 +1,13 @@
#version 410 core
// Input vertex attributes
layout (location = 0) in vec3 position; // Vertex position in local space (model space)
// Uniforms for transformation matrices
uniform mat4 u_model; // Model matrix: transforms from local space to world space
uniform mat4 u_lightSpace;
void main()
{
gl_Position = u_lightSpace * u_model * vec4(position, 1.0);
}