(Matrix4) Renamed Destroy to Undefine, fixed bug

Fixed Transpose() not checking COW ownership


Former-commit-id: de2c64b9aef5abf2f73ce6cff2fe8442c1c382c5
This commit is contained in:
Lynix
2012-10-26 14:08:30 +02:00
parent 61c081ace3
commit 4c23ccf1c6
2 changed files with 12 additions and 8 deletions

View File

@@ -43,8 +43,6 @@ class NzMatrix4
NzMatrix4 Concatenate(const NzMatrix4& matrix) const;
NzMatrix4 ConcatenateAffine(const NzMatrix4& matrix) const;
void Destroy();
T GetDeterminant() const;
NzMatrix4 GetInverse(bool* succeeded = nullptr) const;
NzMatrix4 GetInverseAffine(bool* succeeded = nullptr) const;
@@ -94,6 +92,8 @@ class NzMatrix4
NzMatrix4& Transpose();
NzMatrix4& Undefine();
operator NzString() const;
operator T*();