From 8972ac89f4cafbf9c2305222e61ba067f51eec75 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 19 Aug 2022 14:17:00 +0300 Subject: Removed MatrixNormalize. Fixed API and readme. --- src/rmath.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/rmath.c') diff --git a/src/rmath.c b/src/rmath.c index a65b1c9..f07e288 100644 --- a/src/rmath.c +++ b/src/rmath.c @@ -1247,27 +1247,6 @@ int lmathMatrixInvert( lua_State *L ) { return 1; } -/* -> 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() -- cgit v1.2.3