зеркало из https://github.com/mozilla/gecko-dev.git
Bug 375387 - make gfxMatrix::IsSingular const. r+sr=pavlov
This commit is contained in:
Родитель
12431cf555
Коммит
9bca90d7e5
|
@ -114,7 +114,7 @@ public:
|
|||
/**
|
||||
* Check if matrix is singular (no inverse exists).
|
||||
*/
|
||||
PRBool IsSingular() {
|
||||
PRBool IsSingular() const {
|
||||
// if the determinant (ad - bc) is zero it's singular
|
||||
return (xx * yy) == (yx * xy);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче