commit | ee41112e1539de95596600fd2c6dada5d275217f | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Tue Jul 21 12:20:54 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Tue Jul 21 12:20:54 2009 -0700 |
tree | 669b445213276b1f57f4f35f314fb9997b88c26c | |
parent | c7b0dba641d5417286caa3694e70b039012d1e91 [diff] [blame] |
Enable light sources and update film test app.
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 @@ 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; };