00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __pspgum_h__
00010 #define __pspgum_h__
00011
00012 #include <psptypes.h>
00013
00014 #if defined(__cplusplus)
00015 extern "C" {
00016 #endif
00017
00018 void sceGumDrawArray(int prim, int vtype, int count, const void* indices, const void* vertices);
00019
00020
00021
00022
00023 void sceGumLoadIdentity(void);
00024 void sceGumLoadMatrix(const ScePspFMatrix4* m);
00025 void sceGumLookAt(ScePspFVector3* eye, ScePspFVector3* center, ScePspFVector3* up);
00026 void sceGumMatrixMode(int mode);
00027 void sceGumMultMatrix(const ScePspFMatrix4* m);
00028 void sceGumOrtho(float left, float right, float bottom, float top, float near, float far);
00029 void sceGumPerspective(float fovy, float aspect, float near, float far);
00030 void sceGumPopMatrix(void);
00031 void sceGumPushMatrix(void);
00032 void sceGumRotateX(float a);
00033 void sceGumRotateY(float a);
00034 void sceGumRotateZ(float a);
00035 void sceGumRotateXYZ(const ScePspFVector3* v);
00036 void sceGumRotateZYX(const ScePspFVector3* v);
00037 void sceGumScale(const ScePspFVector3* v);
00038
00039
00040
00041 void sceGumStoreMatrix(ScePspFMatrix4* v);
00042 void sceGumTranslate(const ScePspFVector3* v);
00043 void sceGumUpdateMatrix(void);
00044
00045 #if defined(__cplusplus)
00046 }
00047 #endif
00048
00049 #endif