Matrix_Determinant() was returning its input arg rather than
the determinant. bugfix via LetterRip.
This commit is contained in:
@@ -259,7 +259,7 @@ PyObject *Matrix_Determinant(MatrixObject * self)
|
||||
det = Det4x4((float (*)[4]) *self->matrix);
|
||||
}
|
||||
|
||||
return (PyObject*)self;
|
||||
return PyFloat_FromDouble( (double) det );
|
||||
}
|
||||
//---------------------------Matrix.transpose() ------------------
|
||||
PyObject *Matrix_Transpose(MatrixObject * self)
|
||||
|
||||
Reference in New Issue
Block a user