mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-27 18:28:18 +08:00
Merge pull request #6 from rive-app/misc-fixes
Normalized use of circle constant
This commit is contained in:
@ -99,8 +99,8 @@ abstract class Path extends PathBase {
|
||||
}
|
||||
List<PathVertex> renderPoints = [];
|
||||
int pl = pts.length;
|
||||
const arcConstant = circleConstant;
|
||||
const double iarcConstant = 1.0 - arcConstant;
|
||||
const double iarcConstant = 1.0 - circleConstant;
|
||||
|
||||
PathVertex previous = isClosed ? pts[pl - 1] : null;
|
||||
for (int i = 0; i < pl; i++) {
|
||||
PathVertex point = pts[i];
|
||||
|
12
pubspec.lock
12
pubspec.lock
@ -21,7 +21,7 @@ packages:
|
||||
name: characters
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.1.0-nullsafety"
|
||||
version: "1.0.0"
|
||||
charcode:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -42,7 +42,7 @@ packages:
|
||||
name: collection
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.15.0-nullsafety"
|
||||
version: "1.14.13"
|
||||
fake_async:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -80,7 +80,7 @@ packages:
|
||||
name: meta
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0-nullsafety"
|
||||
version: "1.1.8"
|
||||
path:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -141,13 +141,13 @@ packages:
|
||||
name: typed_data
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.3.0-nullsafety"
|
||||
version: "1.2.0"
|
||||
vector_math:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: vector_math
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.0-nullsafety"
|
||||
version: "2.0.8"
|
||||
sdks:
|
||||
dart: ">=2.9.0-18.0 <2.9.0"
|
||||
dart: ">=2.9.0-14.0.dev <3.0.0"
|
||||
|
Reference in New Issue
Block a user