This commit is contained in:
Nishi 2026-01-12 05:33:04 +09:00
commit a310325a61
Signed by: nishi
GPG key ID: 27EF69B208EB9343
4 changed files with 15 additions and 15 deletions

View file

@ -46,6 +46,8 @@ static void scene(GSClient client) {
}
void GSClientStep(GSClient client) {
static double r = 0;
GSGLClear(client->gl);
GSGLCameraSetup(client->gl);
GSGLSetLight(client->gl);
@ -61,8 +63,6 @@ void GSClientStep(GSClient client) {
client->engine->param->gl_swapbuffer();
static double r = 0;
client->look_at[0] = 5 + cos(r) * 5;
client->look_at[2] = 5 + sin(r) * 5;