diff options
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r-- | libs/hwui/Matrix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index a760135..c152789 100644 --- a/libs/hwui/Matrix.h +++ b/libs/hwui/Matrix.h @@ -134,6 +134,12 @@ public: uint8_t getType() const; + void multiplyInverse(const Matrix4& v) { + Matrix4 inv; + inv.loadInverse(v); + multiply(inv); + } + void multiply(const Matrix4& v) { Matrix4 u; u.loadMultiply(*this, v); |