From 6552bd691ab3c62edc516f78afaef9f0e6084abd Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 11 Jul 2024 15:28:25 +0300 Subject: Many Gui controls accept now nil for text. --- src/rmath.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rmath.c') diff --git a/src/rmath.c b/src/rmath.c index aae76f8..15d5323 100644 --- a/src/rmath.c +++ b/src/rmath.c @@ -20,12 +20,12 @@ int imax( int a, int b ) { Round float value -- Success return float +- Success return int */ int lmathRound( lua_State* L ) { float value = luaL_checknumber( L, 1 ); - lua_pushnumber( L, round( value ) ); + lua_pushinteger( L, round( value ) ); return 1; } @@ -1749,7 +1749,7 @@ int lmathQuaternionFromMatrix( lua_State* L ) { /* > result = RL.QuaternionToMatrix( Quaternion q ) -Get a quaternion for a given rotation matrix +Get a matrix for a given quaternion - Success return Matrix */ -- cgit v1.2.3