Removed MatrixNormalize. Fixed API and readme.

This commit is contained in:
jussi
2022-08-19 14:17:00 +03:00
parent 49f1dad6b9
commit 8972ac89f4
6 changed files with 817 additions and 815 deletions

View File

@@ -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()