refactor the locations of the 'noise.dart' part files (#273)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 98d5851..5b77c4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,10 +1,14 @@ +## 2.1.4 + +- Refactor the locations of the `SimplexNoise` related part files. + ## 2.1.3 - `operator ==` overrides no longer take nullable arguments. This is only visible for classes that implement the interfaces defined in this package which no longer need to also widen the argument type. -- Deprecate `SimplexNoise`; see https:github.com/google/vector_math.dart/issues/270 - for more information. +- Deprecate `SimplexNoise` (see https:github.com/google/vector_math.dart/issues/270 + for more information). ## 2.1.2
diff --git a/lib/src/vector_math/third_party/noise.dart b/lib/src/vector_math/noise.dart similarity index 100% rename from lib/src/vector_math/third_party/noise.dart rename to lib/src/vector_math/noise.dart
diff --git a/lib/src/vector_math_64/third_party/noise.dart b/lib/src/vector_math_64/noise.dart similarity index 100% rename from lib/src/vector_math_64/third_party/noise.dart rename to lib/src/vector_math_64/noise.dart
diff --git a/lib/vector_math.dart b/lib/vector_math.dart index dda25df..5a74df3 100644 --- a/lib/vector_math.dart +++ b/lib/vector_math.dart
@@ -18,7 +18,6 @@ import 'dart:math' as math; import 'dart:typed_data'; -part 'src/vector_math/utilities.dart'; part 'src/vector_math/aabb2.dart'; part 'src/vector_math/aabb3.dart'; part 'src/vector_math/colors.dart'; @@ -29,6 +28,7 @@ part 'src/vector_math/matrix2.dart'; part 'src/vector_math/matrix3.dart'; part 'src/vector_math/matrix4.dart'; +part 'src/vector_math/noise.dart'; part 'src/vector_math/obb3.dart'; part 'src/vector_math/opengl.dart'; part 'src/vector_math/plane.dart'; @@ -36,8 +36,8 @@ part 'src/vector_math/quaternion.dart'; part 'src/vector_math/ray.dart'; part 'src/vector_math/sphere.dart'; -part 'src/vector_math/third_party/noise.dart'; part 'src/vector_math/triangle.dart'; +part 'src/vector_math/utilities.dart'; part 'src/vector_math/vector.dart'; part 'src/vector_math/vector2.dart'; part 'src/vector_math/vector3.dart';
diff --git a/lib/vector_math_64.dart b/lib/vector_math_64.dart index 44fefdc..203096e 100644 --- a/lib/vector_math_64.dart +++ b/lib/vector_math_64.dart
@@ -18,7 +18,6 @@ import 'dart:math' as math; import 'dart:typed_data'; -part 'src/vector_math_64/utilities.dart'; part 'src/vector_math_64/aabb2.dart'; part 'src/vector_math_64/aabb3.dart'; part 'src/vector_math_64/colors.dart'; @@ -29,6 +28,7 @@ part 'src/vector_math_64/matrix2.dart'; part 'src/vector_math_64/matrix3.dart'; part 'src/vector_math_64/matrix4.dart'; +part 'src/vector_math_64/noise.dart'; part 'src/vector_math_64/obb3.dart'; part 'src/vector_math_64/opengl.dart'; part 'src/vector_math_64/plane.dart'; @@ -36,8 +36,8 @@ part 'src/vector_math_64/quaternion.dart'; part 'src/vector_math_64/ray.dart'; part 'src/vector_math_64/sphere.dart'; -part 'src/vector_math_64/third_party/noise.dart'; part 'src/vector_math_64/triangle.dart'; +part 'src/vector_math_64/utilities.dart'; part 'src/vector_math_64/vector.dart'; part 'src/vector_math_64/vector2.dart'; part 'src/vector_math_64/vector3.dart';
diff --git a/pubspec.yaml b/pubspec.yaml index ea1e74c..88bbe60 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,5 +1,5 @@ name: vector_math -version: 2.1.3 +version: 2.1.4 description: A Vector Math library for 2D and 3D applications. repository: https://github.com/google/vector_math.dart