shader and things

This commit is contained in:
Nishi 2026-01-05 18:40:10 +09:00
commit b9f4b88381
Signed by: nishi
GPG key ID: 27EF69B208EB9343
7 changed files with 244 additions and 14 deletions

View file

@ -45,5 +45,16 @@ void gl_main_draw(void) {
glPopMatrix();
glColor3f(1, 1, 1);
glBegin(GL_QUADS);
glNormal3f(0, 1, 0);
glVertex3f(-5, -1, -5);
glVertex3f(-5, -1, 5);
glVertex3f(5, -1, 5);
glVertex3f(5, -1, -5);
glEnd();
}
void gl_main_after(void) {
rad += 60.0 / (1000.0 / AF_WAIT_MS);
}