+z as front

This commit is contained in:
Nishi 2026-01-27 22:27:20 +09:00
commit dd2ef93643
Signed by: nishi
GPG key ID: 27EF69B208EB9343
6 changed files with 62 additions and 36 deletions

View file

@ -98,6 +98,17 @@ void GSClientDestroy(GSClient client) {
static void scene(GSClient client) {
if(client->engine->param->render != NULL) client->engine->param->render(client->engine);
GSVector3 n = {0, 1, 0};
GSVector3 q[] = {
{-3, -1, 3},
{-3, -1, -3},
{3, -1, -3},
{3, -1, 3}};
GSGLTextureSet(client->gl, 2);
GSGLPolygon(client->gl, 4, q, NULL, n);
GSGLTextureSet(client->gl, 0);
}
void GSClientStep(GSClient client) {