Fix precision error in https://codereview.chromium.org/1188433011/
TBR=reed@google.com Review URL: https://codereview.chromium.org/1192853002
This commit is contained in:
parent
20eee3f047
commit
8b1fa6dd8d
@ -723,7 +723,7 @@ private:
|
||||
*/
|
||||
bool isFinite() const;
|
||||
|
||||
static void ComputeInv(SkScalar dst[9], const SkScalar src[9], SkScalar invDet, bool isPersp);
|
||||
static void ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp);
|
||||
|
||||
void setScaleTranslate(SkScalar sx, SkScalar sy, SkScalar tx, SkScalar ty) {
|
||||
fMat[kMScaleX] = sx;
|
||||
|
@ -786,7 +786,7 @@ bool SkMatrix::asAffine(SkScalar affine[6]) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void SkMatrix::ComputeInv(SkScalar dst[9], const SkScalar src[9], SkScalar invDet, bool isPersp) {
|
||||
void SkMatrix::ComputeInv(SkScalar dst[9], const SkScalar src[9], double invDet, bool isPersp) {
|
||||
SkASSERT(src != dst);
|
||||
SkASSERT(src && dst);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user