Added MatrixExists() function

This commit is contained in:
n00b87
2025-11-18 21:59:55 -06:00
parent e6c0cb5a69
commit e0141b11e6
12 changed files with 2065 additions and 2010 deletions

View File

@@ -1346,6 +1346,13 @@ void rc_getMatrixScale(int mA, double* x, double* y, double* z)
*x = m.getScale().X;
*y = m.getScale().Y;
*z = m.getScale().Z;
}
bool rc_matrixExists(int mA)
{
if(mA < 0 || mA >= rc_matrix.size())
return false;
return rc_matrix[mA].active;
}
#endif // RC_MATRIX_H_INCLUDED