This commit is contained in:
Nishi 2026-01-29 15:29:20 +09:00
commit 5c653ffd6a
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -75,11 +75,16 @@ static void render(GSEngine self){
for(j = -1; j <= 1; j++){
GSVector3 pos2;
double s = fabs(sin(rot[0] / 180 * GSMathPi));
int n = (i + 1) * 3 + (j + 1);
pos2[0] = i * s * 2;
pos2[1] = 0;
pos2[2] = j * s * 2;
col2[2] = n & 1;
col2[1] = (n & 2) ? 1 : 0;
col2[0] = (n & 4) ? 1 : 0;
GSGLPushMatrix(gl);
GSGLSetPosition(gl, pos2);
GSGLSetRotation(gl, rot);