diff options
| author | jussi | 2023-06-02 23:19:32 +0300 |
|---|---|---|
| committer | jussi | 2023-06-02 23:19:32 +0300 |
| commit | ed6d37294a6b72382cca09f6808565b61bd0c36b (patch) | |
| tree | e3d00f3b3e0c339d329274f27ed39cf21f3cafad /src/lua_core.c | |
| parent | d550afa3d41e49c6cb215498db0eb547a628d578 (diff) | |
| download | reilua-enhanced-ed6d37294a6b72382cca09f6808565b61bd0c36b.tar.gz reilua-enhanced-ed6d37294a6b72382cca09f6808565b61bd0c36b.tar.bz2 reilua-enhanced-ed6d37294a6b72382cca09f6808565b61bd0c36b.zip | |
rlgl Some Render batch management functions and Matrix operations functions.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index 0fa02da..1ff92cf 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -1475,6 +1475,18 @@ void luaRegister() { assingGlobalFunction( "IsLightEnabled", llightsIsLightEnabled ); /* RLGL */ + /* Matrix operations */ + assingGlobalFunction( "rlMatrixMode", lrlglMatrixMode ); + assingGlobalFunction( "rlPushMatrix", lrlglPushMatrix ); + assingGlobalFunction( "rlPopMatrix", lrlglPopMatrix ); + assingGlobalFunction( "rlLoadIdentity", lrlglLoadIdentity ); + assingGlobalFunction( "rlTranslatef", lrlglTranslatef ); + assingGlobalFunction( "rlRotatef", lrlglRotatef ); + assingGlobalFunction( "rlScalef", lrlglScalef ); + assingGlobalFunction( "rlMultMatrixf", lrlglMultMatrixf ); + assingGlobalFunction( "rlFrustum", lrlglFrustum ); + assingGlobalFunction( "rlOrtho", lrlglOrtho ); + assingGlobalFunction( "rlViewport", lrlglViewport ); /* Textures state */ assingGlobalFunction( "rlActiveTextureSlot", lrlglActiveTextureSlot ); assingGlobalFunction( "rlEnableTexture", lrlglEnableTexture ); @@ -1503,6 +1515,10 @@ void luaRegister() { assingGlobalFunction( "rlDisableSmoothLines", lrlglDisableSmoothLines ); /* Initialization functions. */ assingGlobalFunction( "rlGetVersion", lrlglGetVersion ); + /* Render batch management. */ + assingGlobalFunction( "rlDrawRenderBatchActive", lrlglDrawRenderBatchActive ); + assingGlobalFunction( "rlCheckRenderBatchLimit", lrlglCheckRenderBatchLimit ); + assingGlobalFunction( "rlSetTexture", lrlglSetTexture ); /* Textures management */ assingGlobalFunction( "rlLoadTexture", lrlglLoadTexture ); assingGlobalFunction( "rlLoadTextureDepth", lrlglLoadTextureDepth ); |
