OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9bf4b
)
avoid redundant qreal construct in QMatrix4x4::determinant()
author
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 22 Jun 2020 16:23:42 +0000
(16:23 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 22 Jun 2020 16:23:42 +0000
(16:23 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/math3d/qmatrix4x4.cpp
patch
|
blob
|
history
diff --git
a/src/gui/math3d/qmatrix4x4.cpp
b/src/gui/math3d/qmatrix4x4.cpp
index
9c65e73
..
c39a58f
100644
(file)
--- a/
src/gui/math3d/qmatrix4x4.cpp
+++ b/
src/gui/math3d/qmatrix4x4.cpp
@@
-333,7
+333,7
@@
static inline qreal matrixDet4(const qreal m[4][4])
*/
qreal QMatrix4x4::determinant() const
{
- return
qreal(matrixDet4(m)
);
+ return
matrixDet4(m
);
}
/*!