This minimal OpenGL project demonstrates rendering a triangle using modern OpenGL 4.6 with SPIR-V shaders, implemented in C99. Based on the Learn OpenGL tutorial, it utilizes GLFW for window ...
norm_eye = (view * vec4 (vertex_normal, 0.0)).xyz;; pos_eye = (view * vec4 (vertex_position, 1.0)).xyz; ...