i guess it is working
This commit is contained in:
parent
4cce33c16b
commit
2a804556db
7 changed files with 165 additions and 50 deletions
|
|
@ -16,6 +16,7 @@ GBDECL void GBMathSubtract3(GBVector3 r, GBVector3 v0, GBVector3 v1);
|
|||
GBDECL void GBMathAdd3(GBVector3 r, GBVector3 v0, GBVector3 v1);
|
||||
GBDECL void GBMathNormal3x3(GBVector3 r, GBVector3 v0, GBVector3 v1, GBVector3 v2);
|
||||
GBDECL void GBMathNormal3x4(GBVector3 r, GBVector3 v0, GBVector3 v1, GBVector3 v2, GBVector3 v3);
|
||||
GBDECL void GBMathInvert4x4(GBMatrix4x4 out, GBMatrix4x4 in);
|
||||
GBDECL double GBMathCot(double x);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ typedef void* GBGL;
|
|||
#endif
|
||||
typedef double GBVector3[3];
|
||||
typedef double GBVector4[4];
|
||||
typedef double GBMatrix4x4[16];
|
||||
|
||||
typedef void (*GBGLSwapBufferCallback)(void);
|
||||
typedef void (*GBReadyCallback)(int width, int height);
|
||||
|
|
@ -78,6 +79,7 @@ struct _GBGL {
|
|||
GLuint shadow_texture;
|
||||
GLuint shadow_shader;
|
||||
GLdouble shadow_modelview[16];
|
||||
GLdouble shadow_projection[16];
|
||||
GLdouble shadow_old_projection[16];
|
||||
GLdouble shadow_old_modelview[16];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue