From cc3c25622c731d14a6f01bce684330eccba7db5a Mon Sep 17 00:00:00 2001 From: ztenghui Date: Fri, 17 Jan 2014 10:34:10 -0800 Subject: Property support for light positioning. Tune up the light size to make it look better. Change-Id: I139a05f3dd53dacbe55759b91188f0e1cc2c7f80 --- libs/hwui/ShadowTessellator.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/hwui/ShadowTessellator.h') diff --git a/libs/hwui/ShadowTessellator.h b/libs/hwui/ShadowTessellator.h index 44ac8c0..2399f8f 100644 --- a/libs/hwui/ShadowTessellator.h +++ b/libs/hwui/ShadowTessellator.h @@ -30,8 +30,9 @@ public: const mat4& casterTransform, VertexBuffer& shadowVertexBuffer); static void tessellateSpotShadow(float width, float height, - const mat4& receiverTransform, int screenWidth, int screenHeight, - const mat4& casterTransform, VertexBuffer& shadowVertexBuffer); + const Vector3& lightPosScale, const mat4& receiverTransform, + int screenWidth, int screenHeight, const mat4& casterTransform, + VertexBuffer& shadowVertexBuffer); private: static void generateCasterPolygon(float width, float height, -- cgit v1.1