Merge pull request #6 from rive-app/misc-fixes

Normalized use of circle constant
This commit is contained in:
Matt Sullivan
2020-08-02 18:39:54 -07:00
committed by GitHub
2 changed files with 8 additions and 8 deletions

View File

@ -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];

View File

@ -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"