plugin example: invert y axis

This commit is contained in:
dec05eba
2026-05-03 11:19:14 +02:00
parent d0f59dbd8b
commit 3f886bfe5d

View File

@@ -8,7 +8,7 @@
const char vertex_shader_source[] =
"attribute vec4 vertex_pos; \n"
"void main() { \n"
" gl_Position = vertex_pos; \n"
" gl_Position = vec4(vertex_pos.x, -vertex_pos.y, vertex_pos.z, vertex_pos.w); \n"
"}";
const char fragment_shader_source[] =