textures and core new argument style.

This commit is contained in:
jussi
2023-04-07 18:47:48 +03:00
parent 3cc1af265f
commit 22f70cf06f
5 changed files with 638 additions and 591 deletions

View File

@@ -22,4 +22,10 @@ Backlog {
* Models
* DrawCapsule and DrawCapsuleWires
* LoadMaterials
* Test
* UpdateTexture
* UpdateTextureRec
* GetColor
* LoadShader
* LoadShaderFromMemory
}

View File

@@ -51,3 +51,4 @@ void uluaPushRayCollision( lua_State *L, RayCollision rayCol );
void uluaPushBoundingBox( lua_State *L, BoundingBox box );
int uluaGetTableLen( lua_State *L );
int uluaGetTableLenIndex( lua_State *L, int index );

File diff suppressed because it is too large Load Diff

View File

@@ -2059,7 +2059,11 @@ void uluaPushBoundingBox( lua_State *L, BoundingBox box ) {
}
int uluaGetTableLen( lua_State *L ) {
int t = lua_gettop( L ), i = 0;
return uluaGetTableLenIndex( L, lua_gettop( L ) );
}
int uluaGetTableLenIndex( lua_State *L, int index ) {
int t = index, i = 0;
lua_pushnil( L );
while ( lua_next( L, t ) != 0 ) {

File diff suppressed because it is too large Load Diff