update GSLog
This commit is contained in:
parent
c0cb0062c1
commit
a489f54814
12 changed files with 43 additions and 29 deletions
|
|
@ -15,7 +15,7 @@ enum GSLogLevel {
|
|||
GSLogDebug
|
||||
};
|
||||
|
||||
GSDECL void GSLog(int level, const char* fmt, ...);
|
||||
GSDECL void GSLog(GSEngine engine, int level, const char* fmt, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ extern "C" {
|
|||
#define GSMathPi 3.14159265358979323846
|
||||
|
||||
GSDECL void GSMathCross3(GSVector3 r, GSVector3 v0, GSVector3 v1);
|
||||
GSDECL GSNumber GSMathInner3(GSVector3 v0, GSVector3 v1);
|
||||
GSDECL void GSMathNormalize3(GSVector3 vec);
|
||||
GSDECL void GSMathSubtract3(GSVector3 r, GSVector3 v0, GSVector3 v1);
|
||||
GSDECL void GSMathAdd3(GSVector3 r, GSVector3 v0, GSVector3 v1);
|
||||
|
|
|
|||
|
|
@ -202,6 +202,8 @@ struct _GSFile {
|
|||
};
|
||||
|
||||
struct _GSResource {
|
||||
GSEngine engine;
|
||||
|
||||
GSFile file;
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue