whatever
This commit is contained in:
parent
a1e4c9ab2c
commit
ee178645bf
4 changed files with 139 additions and 12 deletions
|
|
@ -70,10 +70,12 @@ GSDECL void GSGLClearDepth(GSGL gl);
|
|||
GSDECL void GSGLInitialTranslation(GSGL gl);
|
||||
|
||||
/* gl_camera.c */
|
||||
GSDECL void GSGLCameraPerspective(GSGL gl, GSNumber width, GSNumber height);
|
||||
GSDECL void GSGLCameraSet(GSGL gl);
|
||||
GSDECL void GSGLCameraLookAt(GSGL gl, GSVector3 camera, GSVector3 look_at);
|
||||
GSDECL void GSGLCameraSetup(GSGL gl);
|
||||
GSDECL void GSGLCameraPerspective(GSGL gl, GSNumber width, GSNumber height);
|
||||
GSDECL void GSGLCameraSet(GSGL gl);
|
||||
GSDECL void GSGLCameraLookAt(GSGL gl, GSVector3 camera, GSVector3 look_at);
|
||||
GSDECL void GSGLCameraSetup(GSGL gl);
|
||||
GSDECL void GSGLCameraFrustum(GSGL gl);
|
||||
GSDECL GSBool GSGLCameraFrustumContain(GSGL gl, GSVector3 a, GSVector3 b);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -206,6 +206,11 @@ struct _GSGL {
|
|||
GLdouble shadow_old_projection[16];
|
||||
GLdouble shadow_old_modelview[16];
|
||||
|
||||
GLdouble frustum_projection[16];
|
||||
GLdouble frustum_modelview[16];
|
||||
GSNumber frustum_planes[6][16];
|
||||
GSNumber frustum_clip[16];
|
||||
|
||||
GSBool bold;
|
||||
};
|
||||
|
||||
|
|
@ -253,6 +258,8 @@ struct _GSModel {
|
|||
float* vertex;
|
||||
float* texcoord;
|
||||
GSModelFace* face;
|
||||
|
||||
GSVector3 bbox[2];
|
||||
};
|
||||
|
||||
struct _GSSound {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue