Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: sky/sdk/example/game/lib/particle_system.dart

Issue 1233673003: Fix bugs found by Dart analyzer (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: typo Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 part of sprites; 1 part of sprites;
2 2
3 class _Particle { 3 class _Particle {
4 Vector2 pos; 4 Vector2 pos;
5 Vector2 startPos; 5 Vector2 startPos;
6 6
7 double colorPos; 7 double colorPos;
8 double deltaColorPos; 8 double deltaColorPos;
9 9
10 double size; 10 double size;
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 309 }
310 310
311 // TODO: Needs bindings to Skia SkRSXform 311 // TODO: Needs bindings to Skia SkRSXform
312 class RSTransform { 312 class RSTransform {
313 double scos; 313 double scos;
314 double ssin; 314 double ssin;
315 double tx; 315 double tx;
316 double ty; 316 double ty;
317 317
318 RSTransform(this.scos, this.ssin, this.tx, this.ty); 318 RSTransform(this.scos, this.ssin, this.tx, this.ty);
319 } 319 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698