diff options
| author | jussi | 2022-08-19 14:17:00 +0300 |
|---|---|---|
| committer | jussi | 2022-08-19 14:17:00 +0300 |
| commit | 8972ac89f4cafbf9c2305222e61ba067f51eec75 (patch) | |
| tree | 21ed6aa3399dbd254bb2e3634b20eeebdef90c60 /src/rmath.c | |
| parent | 49f1dad6b9deeb769e384ae547fca9f64b90bf79 (diff) | |
| download | reilua-enhanced-8972ac89f4cafbf9c2305222e61ba067f51eec75.tar.gz reilua-enhanced-8972ac89f4cafbf9c2305222e61ba067f51eec75.tar.bz2 reilua-enhanced-8972ac89f4cafbf9c2305222e61ba067f51eec75.zip | |
Removed MatrixNormalize. Fixed API and readme.
Diffstat (limited to 'src/rmath.c')
| -rw-r--r-- | src/rmath.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/rmath.c b/src/rmath.c index a65b1c9..f07e288 100644 --- a/src/rmath.c +++ b/src/rmath.c @@ -1248,27 +1248,6 @@ int lmathMatrixInvert( lua_State *L ) { } /* -> result = RL_MatrixNormalize( Matrix mat ) - -Normalize provided matrix - -- Failure return false -- Success return Matrix -*/ -int lmathMatrixNormalize( lua_State *L ) { - if ( !lua_istable( L, -1 ) ) { - TraceLog( LOG_WARNING, "%s", "Bad call of function. RL_MatrixNormalize( Matrix mat )" ); - lua_pushboolean( L, false ); - return 1; - } - Matrix mat = uluaGetMatrix( L ); - - uluaPushMatrix( L, MatrixNormalize( mat ) ); - - return 1; -} - -/* > result = MatrixIdentity() Get identity matrix |
