summaryrefslogtreecommitdiff
path: root/libs/hwui/Matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r--libs/hwui/Matrix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h
index 9bd289f43c09..8fa5e4d9ff5b 100644
--- a/libs/hwui/Matrix.h
+++ b/libs/hwui/Matrix.h
@@ -30,6 +30,8 @@ namespace uirenderer {
class Matrix4 {
public:
+ float data[16];
+
Matrix4() {
loadIdentity();
}
@@ -92,14 +94,12 @@ public:
private:
inline float get(int i, int j) const {
- return mMat[i * 4 + j];
+ return data[i * 4 + j];
}
inline void set(int i, int j, float v) {
- mMat[i * 4 + j] = v;
+ data[i * 4 + j] = v;
}
-
- float mMat[16];
}; // class Matrix4
///////////////////////////////////////////////////////////////////////////////