diff options
| author | jussi | 2024-02-24 18:09:53 +0200 |
|---|---|---|
| committer | jussi | 2024-02-24 18:09:53 +0200 |
| commit | 631cea6aa7510ba53d4f14b5537e1719a72976b9 (patch) | |
| tree | 936134d4cfa228a4a1d9964823a3a9889df230ef /src/lua_core.c | |
| parent | 9f1bec39f9d3d67c5d194fa4553c2ace09656a1c (diff) | |
| download | reilua-enhanced-631cea6aa7510ba53d4f14b5537e1719a72976b9.tar.gz reilua-enhanced-631cea6aa7510ba53d4f14b5537e1719a72976b9.tar.bz2 reilua-enhanced-631cea6aa7510ba53d4f14b5537e1719a72976b9.zip | |
Rest of rlgl and raymath functions.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index fffce5a..3747791 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -1881,6 +1881,8 @@ void luaRegister() { assingGlobalFunction( "Vector3Negate", lmathVector3Negate ); assingGlobalFunction( "Vector3Divide", lmathVector3Divide ); assingGlobalFunction( "Vector3Normalize", lmathVector3Normalize ); + assingGlobalFunction( "Vector3Project", lmathVector3Project ); + assingGlobalFunction( "Vector3Reject", lmathVector3Reject ); assingGlobalFunction( "Vector3OrthoNormalize", lmathVector3OrthoNormalize ); assingGlobalFunction( "Vector3Transform", lmathVector3Transform ); assingGlobalFunction( "Vector3RotateByQuaternion", lmathVector3RotateByQuaternion ); @@ -2057,6 +2059,10 @@ void luaRegister() { assingGlobalFunction( "rlDisableVertexBufferElement", lrlglDisableVertexBufferElement ); assingGlobalFunction( "rlEnableVertexAttribute", lrlglEnableVertexAttribute ); assingGlobalFunction( "rlDisableVertexAttribute", lrlglDisableVertexAttribute ); +#if defined( GRAPHICS_API_OPENGL_11 ) + assingGlobalFunction( "rlEnableStatePointer", lrlglEnableStatePointer ); + assingGlobalFunction( "rlDisableStatePointer", lrlglDisableStatePointer ); +#endif /* Textures state. */ assingGlobalFunction( "rlActiveTextureSlot", lrlglActiveTextureSlot ); assingGlobalFunction( "rlEnableTexture", lrlglEnableTexture ); @@ -2072,6 +2078,7 @@ void luaRegister() { assingGlobalFunction( "rlEnableFramebuffer", lrlglEnableFramebuffer ); assingGlobalFunction( "rlDisableFramebuffer", lrlglDisableFramebuffer ); assingGlobalFunction( "rlActiveDrawBuffers", lrlglActiveDrawBuffers ); + assingGlobalFunction( "rlBlitFramebuffer", lrlglBlitFramebuffer ); /* General render state. */ assingGlobalFunction( "rlEnableColorBlend", lrlglEnableColorBlend ); assingGlobalFunction( "rlDisableColorBlend", lrlglDisableColorBlend ); @@ -2086,6 +2093,7 @@ void luaRegister() { assingGlobalFunction( "rlDisableScissorTest", lrlglDisableScissorTest ); assingGlobalFunction( "rlScissor", lrlglScissor ); assingGlobalFunction( "rlEnableWireMode", lrlglEnableWireMode ); + assingGlobalFunction( "rlEnablePointMode", lrlglEnablePointMode ); assingGlobalFunction( "rlDisableWireMode", lrlglDisableWireMode ); assingGlobalFunction( "rlSetLineWidth", lrlglSetLineWidth ); assingGlobalFunction( "rlGetLineWidth", lrlglGetLineWidth ); |
