diff options
author | Leon Hong <leonhong@google.com> | 2011-10-12 17:37:58 -0700 |
---|---|---|
committer | Leon Hong <leonhong@google.com> | 2011-10-14 14:39:27 -0700 |
commit | 4f6e266df7b4384c43deeac4643a79dcf1063636 (patch) | |
tree | 4c1b8c5c596263f71ddf9e5ac62be118b59df99e /res | |
parent | 33113fcccefc422f984b6fbb89293c23d7d33a27 (diff) | |
download | android_packages_wallpapers_NoiseField-4f6e266df7b4384c43deeac4643a79dcf1063636.tar.gz android_packages_wallpapers_NoiseField-4f6e266df7b4384c43deeac4643a79dcf1063636.tar.bz2 android_packages_wallpapers_NoiseField-4f6e266df7b4384c43deeac4643a79dcf1063636.zip |
New touch interactivity
- Wallpaper responds to touch
- Variable name and code format cleanup
- Moved bg mesh data to external file
Change-Id: Id6bc01061b7cb9fea874c72fae1aacf2f4765ba4
Diffstat (limited to 'res')
-rw-r--r-- | res/raw/bg_vs.glsl | 2 | ||||
-rw-r--r-- | res/raw/bgmesh.csv | 48 |
2 files changed, 49 insertions, 1 deletions
diff --git a/res/raw/bg_vs.glsl b/res/raw/bg_vs.glsl index d604369..d83c5f1 100644 --- a/res/raw/bg_vs.glsl +++ b/res/raw/bg_vs.glsl @@ -2,5 +2,5 @@ varying lowp vec4 color; void main() { color = ATTRIB_color; - gl_Position = vec4(ATTRIB_position.x + ATTRIB_offsetX, ATTRIB_position.y, 0.0, 1.0); + gl_Position = vec4(ATTRIB_position.x, ATTRIB_position.y, 0.0, 1.0); }
\ No newline at end of file diff --git a/res/raw/bgmesh.csv b/res/raw/bgmesh.csv new file mode 100644 index 0000000..56ca0b4 --- /dev/null +++ b/res/raw/bgmesh.csv @@ -0,0 +1,48 @@ +-1.5,1.0,0.08,0.335,0.406 +-1.5,-0.2,0.137,0.176,0.225 +-1.05,0.3,0.0,0.088,0.135 +-1.5,1.0,0.08,0.335,0.406 +-1.05,0.3,0.0,0.088,0.135 +-0.6,0.4,0.0,0.184,0.233 +-1.5,1.0,0.08,0.335,0.406 +-0.6,0.4,0.0,0.184,0.233 +0.0,1.0,0.133,0.404,0.478 +0.0,1.0,0.133,0.404,0.478 +-0.6,0.4,0.0,0.184,0.233 +0.3,0.4,0.0,0.124,0.178 +0.0,1.0,0.133,0.404,0.478 +0.3,0.4,0.0,0.124,0.178 +1.5,1.0,0.002,0.173,0.231 +1.5,1.0,0.002,0.173,0.231 +0.3,0.4,0.0,0.124,0.178 +1.5,-1.0,0.0,0.088,0.135 +0.3,0.4,0.0,0.124,0.178 +-0.6,0.4,0.0,0.184,0.233 +0.0,0.2,0.0,0.088,0.135 +0.3,0.4,0.0,0.124,0.178 +0.0,0.2,0.0,0.088,0.135 +1.5,-1.0,0.0,0.088,0.135 +0.0,0.2,0.0,0.088,0.135 +-0.6,0.4,0.0,0.184,0.233 +-0.6,0.1,0.002,0.196,0.233 +-0.6,0.1,0.002,0.196,0.233 +-0.6,0.4,0.0,0.184,0.233 +-1.05,0.3,0.0,0.088,0.135 +-1.05,0.3,0.0,0.088,0.135 +-1.5,-0.2,0.137,0.176,0.225 +-0.6,0.1,0.002,0.196,0.233 +-0.45,-0.3,0.002,0.059,0.09 +-0.6,0.1,0.002,0.196,0.233 +-1.5,-0.2,0.137,0.176,0.225 +-0.45,-0.3,0.002,0.059,0.09 +-1.5,-0.2,0.137,0.176,0.225 +-1.5,-1.0,0.204,0.212,0.218 +1.5,-1.0,0.0,0.088,0.135 +-0.45,-0.3,0.002,0.059,0.09 +-1.5,-1.0,0.204,0.212,0.218 +0.0,0.2,0.0,0.088,0.135 +-0.6,0.1,0.002,0.196,0.233 +-0.45,-0.3,0.002,0.059,0.09 +1.5,-1.0,0.0,0.088,0.135 +0.0,0.2,0.0,0.088,0.135 +-0.45,-0.3,0.002,0.059,0.09
\ No newline at end of file |