Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10426 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
6a774a1f26
commit
16d53aac9c
@ -171,7 +171,7 @@ bool operator==(const SkMatrix& a, const SkMatrix& b) {
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// helper function to determine if upper-left 2x2 of matrix is degenerate
|
||||
static inline bool is_degenerate_2x2(SkScalar scaleX, SkScalar skewX,
|
||||
static inline bool is_degenerate_2x2(SkScalar scaleX, SkScalar skewX,
|
||||
SkScalar skewY, SkScalar scaleY) {
|
||||
SkScalar perp_dot = scaleX*scaleY - skewX*skewY;
|
||||
return SkScalarNearlyZero(perp_dot, SK_ScalarNearlyZero*SK_ScalarNearlyZero);
|
||||
|
Loading…
Reference in New Issue
Block a user