textures and core new argument style.
This commit is contained in:
6
devnotes
6
devnotes
@@ -22,4 +22,10 @@ Backlog {
|
||||
* Models
|
||||
* DrawCapsule and DrawCapsuleWires
|
||||
* LoadMaterials
|
||||
* Test
|
||||
* UpdateTexture
|
||||
* UpdateTextureRec
|
||||
* GetColor
|
||||
* LoadShader
|
||||
* LoadShaderFromMemory
|
||||
}
|
||||
|
||||
@@ -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 );
|
||||
|
||||
689
src/core.c
689
src/core.c
File diff suppressed because it is too large
Load Diff
@@ -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 ) {
|
||||
|
||||
525
src/textures.c
525
src/textures.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user