diff options
Diffstat (limited to 'libs/rs/rsMatrix.h')
| -rw-r--r-- | libs/rs/rsMatrix.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/rs/rsMatrix.h b/libs/rs/rsMatrix.h index 7dc4165..11ce42e 100644 --- a/libs/rs/rsMatrix.h +++ b/libs/rs/rsMatrix.h @@ -23,7 +23,7 @@ namespace android { namespace renderscript { -struct Matrix +struct Matrix { float m[16]; @@ -47,6 +47,8 @@ struct Matrix void loadOrtho(float l, float r, float b, float t, float n, float f); void loadFrustum(float l, float r, float b, float t, float n, float f); + void vectorMultiply(float *v4out, const float *v3in) const; + void multiply(const Matrix *rhs) { Matrix tmp; tmp.loadMultiply(this, rhs); @@ -71,7 +73,7 @@ struct Matrix }; - + } |
