uluaPushTransform translation field name fix.
This commit is contained in:
@@ -38,6 +38,7 @@ DETAILED CHANGES:
|
||||
- ADDED: Texture atlas repeat example.
|
||||
- CHANGE: UpdateTexture and UpdateTextureRec now take pixel data as Buffer.
|
||||
- ADDED: Blend modes example.
|
||||
- FIXED: uluaPushTransform translation field name fix.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Release: ReiLua version 0.8.0 Using Raylib 5.0 and Forked Raygui 4.0
|
||||
|
||||
@@ -5039,10 +5039,12 @@ static const char **GuiTextSplit(const char *text, char delimiter, int *count, i
|
||||
// textRow is an externally provided array of integers that stores row number for every splitted string
|
||||
|
||||
#if !defined(RAYGUI_TEXTSPLIT_MAX_ITEMS)
|
||||
#define RAYGUI_TEXTSPLIT_MAX_ITEMS 128
|
||||
// #define RAYGUI_TEXTSPLIT_MAX_ITEMS 128
|
||||
#define RAYGUI_TEXTSPLIT_MAX_ITEMS 512
|
||||
#endif
|
||||
#if !defined(RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE)
|
||||
#define RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE 1024
|
||||
// #define RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE 1024
|
||||
#define RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE 4096
|
||||
#endif
|
||||
|
||||
static const char *result[RAYGUI_TEXTSPLIT_MAX_ITEMS] = { NULL }; // String pointers array (points to buffer data)
|
||||
@@ -5451,10 +5453,12 @@ const char **TextSplit(const char *text, char delimiter, int *count)
|
||||
// 2. Maximum size of text to split is RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE
|
||||
|
||||
#if !defined(RAYGUI_TEXTSPLIT_MAX_ITEMS)
|
||||
#define RAYGUI_TEXTSPLIT_MAX_ITEMS 128
|
||||
// #define RAYGUI_TEXTSPLIT_MAX_ITEMS 128
|
||||
#define RAYGUI_TEXTSPLIT_MAX_ITEMS 512
|
||||
#endif
|
||||
#if !defined(RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE)
|
||||
#define RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE 1024
|
||||
// #define RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE 1024
|
||||
#define RAYGUI_TEXTSPLIT_MAX_TEXT_SIZE 4096
|
||||
#endif
|
||||
|
||||
static const char *result[RAYGUI_TEXTSPLIT_MAX_ITEMS] = { NULL };
|
||||
|
||||
@@ -3932,7 +3932,7 @@ void uluaPushBoneInfo( lua_State* L, BoneInfo boneInfo ) {
|
||||
void uluaPushTransform( lua_State* L, Transform transform ) {
|
||||
lua_createtable( L, 3, 0 );
|
||||
uluaPushVector3( L, transform.translation );
|
||||
lua_setfield( L, -2, "name" );
|
||||
lua_setfield( L, -2, "translation" );
|
||||
uluaPushQuaternion( L, transform.rotation );
|
||||
lua_setfield( L, -2, "rotation" );
|
||||
uluaPushVector3( L, transform.scale );
|
||||
|
||||
Reference in New Issue
Block a user