diff options
| author | jussi | 2024-07-11 15:28:25 +0300 |
|---|---|---|
| committer | jussi | 2024-07-11 15:28:25 +0300 |
| commit | 6552bd691ab3c62edc516f78afaef9f0e6084abd (patch) | |
| tree | a6abbbc3f6147a6154d4f75a1bc13da9e60940ba /src/rmath.c | |
| parent | 528f3f3d822c8e9d3e72228cf5d7fc3d4daae483 (diff) | |
| download | reilua-enhanced-6552bd691ab3c62edc516f78afaef9f0e6084abd.tar.gz reilua-enhanced-6552bd691ab3c62edc516f78afaef9f0e6084abd.tar.bz2 reilua-enhanced-6552bd691ab3c62edc516f78afaef9f0e6084abd.zip | |
Many Gui controls accept now nil for text.
Diffstat (limited to 'src/rmath.c')
| -rw-r--r-- | src/rmath.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |
