fix
This commit is contained in:
parent
1da71680f7
commit
a310325a61
4 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue