diff options
| author | Jason Sams <rjsams@android.com> | 2009-07-21 12:20:54 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2009-07-21 12:20:54 -0700 |
| commit | ee41112e1539de95596600fd2c6dada5d275217f (patch) | |
| tree | 669b445213276b1f57f4f35f314fb9997b88c26c /libs/rs/rsLight.h | |
| parent | c7b0dba641d5417286caa3694e70b039012d1e91 (diff) | |
| download | frameworks_base-ee41112e1539de95596600fd2c6dada5d275217f.zip frameworks_base-ee41112e1539de95596600fd2c6dada5d275217f.tar.gz frameworks_base-ee41112e1539de95596600fd2c6dada5d275217f.tar.bz2 | |
Enable light sources and update film test app.
Diffstat (limited to 'libs/rs/rsLight.h')
| -rw-r--r-- | libs/rs/rsLight.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/rs/rsLight.h b/libs/rs/rsLight.h index 76d1ecc..b0c3386 100644 --- a/libs/rs/rsLight.h +++ b/libs/rs/rsLight.h @@ -36,9 +36,11 @@ public: void setPosition(float x, float y, float z); void setColor(float r, float g, float b); + void setupGL(uint32_t num) const; + protected: - float mR, mG, mB; - float mX, mY, mZ; + float mColor[4]; + float mPosition[4]; bool mIsLocal; bool mIsMono; }; |
