update servo to use webrender shaders

This commit is contained in:
Mason Chang 2016-08-04 17:57:19 -07:00
parent 1086df67e0
commit 7699380965
9 changed files with 18 additions and 18 deletions

View file

@ -21,7 +21,7 @@ void main(void) {
float sa = sin(angle);
float ca = cos(angle);
float sx = vStartPoint.x * ca - vStartPoint.y * sa;
float sx = vStartPoint.x * ca - vStartPoint.y * sa;
float ex = vEndPoint.x * ca - vEndPoint.y * sa;
float d = ex - sx;