diff options
| author | Jason Sams <rjsams@android.com> | 2009-06-17 16:52:59 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-06-17 16:52:59 -0700 |
| commit | 9c54bdbf458e3c9433d237ae71cf47c4ec47d852 (patch) | |
| tree | 5c740a213b3ac7518184f53692191d0f3cd8cc48 /libs/rs/rsMatrix.h | |
| parent | b37c0a5db65cd8b72cac6a3250faddd1aecb722e (diff) | |
| download | frameworks_base-9c54bdbf458e3c9433d237ae71cf47c4ec47d852.zip frameworks_base-9c54bdbf458e3c9433d237ae71cf47c4ec47d852.tar.gz frameworks_base-9c54bdbf458e3c9433d237ae71cf47c4ec47d852.tar.bz2 | |
Implement default programs and implement defaults and parents for imports.
Diffstat (limited to 'libs/rs/rsMatrix.h')
| -rw-r--r-- | libs/rs/rsMatrix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/rs/rsMatrix.h b/libs/rs/rsMatrix.h index 619b494..7dc4165 100644 --- a/libs/rs/rsMatrix.h +++ b/libs/rs/rsMatrix.h @@ -44,6 +44,9 @@ struct Matrix void loadTranslate(float x, float y, float z); void loadMultiply(const Matrix *lhs, const Matrix *rhs); + 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 multiply(const Matrix *rhs) { Matrix tmp; tmp.loadMultiply(this, rhs); |
