new math func
This commit is contained in:
parent
bf96da0108
commit
68e1228193
4 changed files with 38 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ GSDECL void GSGLBegin2D(GSGL gl);
|
|||
GSDECL void GSGLEnd2D(GSGL gl);
|
||||
GSDECL void GSGLSetPosition(GSGL gl, GSVector3 pos);
|
||||
GSDECL void GSGLSetRotation(GSGL gl, GSVector3 rot);
|
||||
GSDECL void GSGLSetRotation3x3(GSGL gl, GSMatrix3x3 rot);
|
||||
GSDECL void GSGLPushMatrix(GSGL gl);
|
||||
GSDECL void GSGLPopMatrix(GSGL gl);
|
||||
GSDECL GLuint GSGLBeginList(GSGL gl);
|
||||
|
|
|
|||
|
|
@ -19,10 +19,13 @@ GSDECL void GSMathNormalTriangle(GSVector3 r, GSVector3 v0, GSVector3 v1, GSVect
|
|||
GSDECL void GSMathNormalQuad(GSVector3 r, GSVector3 v0, GSVector3 v1, GSVector3 v2, GSVector3 v3);
|
||||
GSDECL void GSMathInvert4x4(GSMatrix4x4 out, GSMatrix4x4 in);
|
||||
GSDECL void GSMathRowToColumn4x4(GSMatrix4x4 out, GSMatrix4x4 in);
|
||||
GSDECL void GSMathRowToColumn3x3(GSMatrix3x3 out, GSMatrix3x3 in);
|
||||
GSDECL void GSMath3x3To4x4(GSMatrix4x4 out, GSMatrix3x3 in);
|
||||
GSDECL GSNumber GSMathCot(GSNumber x);
|
||||
GSDECL GSNumber GSMathClosestPOT(GSNumber x);
|
||||
|
||||
#define GSMathColumnToRow4x4 GSMathRowToColumn4x4
|
||||
#define GSMathColumnToRow3x3 GSMathRowToColumn3x3
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue