mirror of
https://github.com/servo/servo.git
synced 2025-09-07 13:38:20 +01:00
update servo to use webrender shaders
This commit is contained in:
parent
1086df67e0
commit
7699380965
9 changed files with 18 additions and 18 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue