summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c10
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. */