teto pear

This commit is contained in:
Nishi 2026-01-13 04:28:36 +09:00
commit e02687863f
Signed by: nishi
GPG key ID: 27EF69B208EB9343
18 changed files with 3484 additions and 19 deletions

View file

@ -110,3 +110,35 @@ void GSGLEnd2D(GSGL gl) {
GSGLShadowEnable(gl);
GSGLCareDepth(gl);
}
void GSGLSetPosition(GSGL gl, GSVector3 pos, GSVector3 rot) {
glTranslatef(pos[0], pos[1], pos[2]);
glRotatef(rot[0], 1, 0, 0);
glRotatef(rot[1], 0, 1, 0);
glRotatef(rot[2], 0, 0, 1);
}
void GSGLPushMatrix(GSGL gl) {
glPushMatrix();
}
void GSGLPopMatrix(GSGL gl) {
glPopMatrix();
}
GLuint GSGLBeginList(GSGL gl) {
GLuint list;
list = glGenLists(1);
glNewList(list, GL_COMPILE);
return list;
}
void GSGLEndList(GSGL gl) {
glEndList();
}
void GSGLCallList(GSGL gl, GLuint list) {
glCallList(list);
}