diff options
| author | jussi | 2023-10-22 22:13:27 +0300 |
|---|---|---|
| committer | jussi | 2023-10-22 22:13:27 +0300 |
| commit | 6915f3e27c7a2f4ed8c90909a9aa9cb8906d1c00 (patch) | |
| tree | 1353262eb323eba14b886daf9510ca02060b74da /src/lua_core.c | |
| parent | 95be0403e69b3047a0375cf965dedca0ad876409 (diff) | |
| download | reilua-enhanced-6915f3e27c7a2f4ed8c90909a9aa9cb8906d1c00.tar.gz reilua-enhanced-6915f3e27c7a2f4ed8c90909a9aa9cb8906d1c00.tar.bz2 reilua-enhanced-6915f3e27c7a2f4ed8c90909a9aa9cb8906d1c00.zip | |
rlgl Matrix state management.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index c254a9d..f8b25bb 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -1957,6 +1957,16 @@ void luaRegister() { assingGlobalFunction( "rlFramebufferAttach", lrlglFramebufferAttach ); assingGlobalFunction( "rlFramebufferComplete", lrlglFramebufferComplete ); assingGlobalFunction( "rlUnloadFramebuffer", lrlglUnloadFramebuffer ); + /* Matrix state management. */ + assingGlobalFunction( "rlGetMatrixModelview", lrlglGetMatrixModelview ); + assingGlobalFunction( "rlGetMatrixProjection", lrlglGetMatrixProjection ); + assingGlobalFunction( "rlGetMatrixTransform", lrlglGetMatrixTransform ); + assingGlobalFunction( "rlGetMatrixProjectionStereo", lrlglGetMatrixProjectionStereo ); + assingGlobalFunction( "rlGetMatrixViewOffsetStereo", lrlglGetMatrixViewOffsetStereo ); + assingGlobalFunction( "rlSetMatrixProjection", lrlglSetMatrixProjection ); + assingGlobalFunction( "rlSetMatrixModelview", lrlglSetMatrixModelview ); + assingGlobalFunction( "rlSetMatrixProjectionStereo", lrlglSetMatrixProjectionStereo ); + assingGlobalFunction( "rlSetMatrixViewOffsetStereo", lrlglSetMatrixViewOffsetStereo ); /* OpenGL */ /* Framebuffer management. */ |
