summaryrefslogtreecommitdiff
path: root/rsMatrix3x3.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsMatrix3x3.h')
-rw-r--r--rsMatrix3x3.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/rsMatrix3x3.h b/rsMatrix3x3.h
index f96d2703..05249b15 100644
--- a/rsMatrix3x3.h
+++ b/rsMatrix3x3.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 The Android Open Source Project
+ * Copyright (C) 2011-2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,12 +25,12 @@ namespace android {
namespace renderscript {
struct Matrix3x3 : public rs_matrix3x3 {
- inline float get(uint32_t row, uint32_t col) const {
- return m[row*3 + col];
+ inline float get(uint32_t x, uint32_t y) const {
+ return m[x*3 + y];
}
- inline void set(uint32_t row, uint32_t col, float v) {
- m[row*3 + col] = v;
+ inline void set(uint32_t x, uint32_t y, float v) {
+ m[x*3 + y] = v;
}
void loadIdentity();
@@ -51,12 +51,4 @@ struct Matrix3x3 : public rs_matrix3x3 {
}
}
-
-
-
-#endif
-
-
-
-
-
+#endif // ANDROID_RS_MATRIX_3x3_H