| Index: sky/examples/raw/spinning_image.dart
|
| diff --git a/sky/examples/raw/spinning_image.dart b/sky/examples/raw/spinning_image.dart
|
| index b79162a2c01cbc2ee6f58a4bc8d962ce723bc072..cdbf7f678209f1c147e0d3dc59c507a901876a59 100644
|
| --- a/sky/examples/raw/spinning_image.dart
|
| +++ b/sky/examples/raw/spinning_image.dart
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +import 'dart:math' as math;
|
| import 'dart:sky';
|
| import 'package:sky/framework/net/image_cache.dart' as image_cache;
|
|
|
| @@ -16,7 +17,7 @@ void beginFrame(double timeStamp) {
|
| double delta = timeStamp - timeBase;
|
| PictureRecorder canvas = new PictureRecorder(view.width, view.height);
|
| canvas.translate(view.width / 2.0, view.height / 2.0);
|
| - canvas.rotateDegrees(delta / 10);
|
| + canvas.rotate(math.PI * delta / 1800);
|
| canvas.scale(0.2, 0.2);
|
| Paint paint = new Paint()..setARGB(255, 0, 255, 0);
|
| if (image != null)
|
|
|