diff --git a/packages/flame/lib/src/camera/behaviors/follow_behavior.dart b/packages/flame/lib/src/camera/behaviors/follow_behavior.dart index c6e99e13275..2e38dafe015 100644 --- a/packages/flame/lib/src/camera/behaviors/follow_behavior.dart +++ b/packages/flame/lib/src/camera/behaviors/follow_behavior.dart @@ -3,7 +3,7 @@ import 'package:flame/src/camera/viewport.dart'; import 'package:flame/src/components/core/component.dart'; import 'package:flame/src/components/position_component.dart'; import 'package:flame/src/effects/provider_interfaces.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// This behavior will make the [owner] follow the [target]. /// diff --git a/packages/flame/lib/src/camera/viewports/circular_viewport.dart b/packages/flame/lib/src/camera/viewports/circular_viewport.dart index 2230dd67b04..022bd675aca 100644 --- a/packages/flame/lib/src/camera/viewports/circular_viewport.dart +++ b/packages/flame/lib/src/camera/viewports/circular_viewport.dart @@ -1,7 +1,7 @@ import 'dart:ui'; import 'package:flame/src/camera/viewport.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// A fixed-size viewport in the shape of a circle (or ellipse). /// diff --git a/packages/flame/lib/src/camera/viewports/fixed_aspect_ratio_viewport.dart b/packages/flame/lib/src/camera/viewports/fixed_aspect_ratio_viewport.dart index a4aced611a9..2508bf952be 100644 --- a/packages/flame/lib/src/camera/viewports/fixed_aspect_ratio_viewport.dart +++ b/packages/flame/lib/src/camera/viewports/fixed_aspect_ratio_viewport.dart @@ -2,7 +2,7 @@ import 'dart:ui'; import 'package:flame/src/camera/viewport.dart'; import 'package:meta/meta.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// [FixedAspectRatioViewport] is a rectangular viewport which auto-expands to /// take as much space as possible within the canvas, while maintaining a fixed diff --git a/packages/flame/lib/src/camera/viewports/fixed_size_viewport.dart b/packages/flame/lib/src/camera/viewports/fixed_size_viewport.dart index 542d3a8a145..b626c0ac9a7 100644 --- a/packages/flame/lib/src/camera/viewports/fixed_size_viewport.dart +++ b/packages/flame/lib/src/camera/viewports/fixed_size_viewport.dart @@ -1,7 +1,7 @@ import 'dart:ui'; import 'package:flame/src/camera/viewport.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// A rectangular viewport with fixed dimensions. /// diff --git a/packages/flame/lib/src/camera/viewports/max_viewport.dart b/packages/flame/lib/src/camera/viewports/max_viewport.dart index 9ae3b75bd0f..b90c7015317 100644 --- a/packages/flame/lib/src/camera/viewports/max_viewport.dart +++ b/packages/flame/lib/src/camera/viewports/max_viewport.dart @@ -2,7 +2,7 @@ import 'dart:ui'; import 'package:flame/src/camera/viewport.dart'; import 'package:meta/meta.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// The default viewport, which is as big as the game canvas allows. /// diff --git a/packages/flame/lib/src/camera/world.dart b/packages/flame/lib/src/camera/world.dart index a2a023ba0ca..28a06c01ad8 100644 --- a/packages/flame/lib/src/camera/world.dart +++ b/packages/flame/lib/src/camera/world.dart @@ -3,7 +3,7 @@ import 'dart:ui'; import 'package:flame/src/camera/camera_component.dart'; import 'package:flame/src/components/core/component.dart'; import 'package:flame/src/components/mixins/coordinate_transform.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// The root component for all game world elements. /// diff --git a/packages/flame/lib/src/components/mixins/coordinate_transform.dart b/packages/flame/lib/src/components/mixins/coordinate_transform.dart index 8bc451908a3..c93100c710f 100644 --- a/packages/flame/lib/src/components/mixins/coordinate_transform.dart +++ b/packages/flame/lib/src/components/mixins/coordinate_transform.dart @@ -1,5 +1,5 @@ import 'package:flame/src/components/core/component.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// Interface to be implemented by components that perform a coordinate change. /// diff --git a/packages/flame/lib/src/effects/anchor_by_effect.dart b/packages/flame/lib/src/effects/anchor_by_effect.dart index edc7b7bf812..5aa28fe1075 100644 --- a/packages/flame/lib/src/effects/anchor_by_effect.dart +++ b/packages/flame/lib/src/effects/anchor_by_effect.dart @@ -2,7 +2,7 @@ import 'package:flame/src/anchor.dart'; import 'package:flame/src/effects/anchor_effect.dart'; import 'package:flame/src/effects/controllers/effect_controller.dart'; import 'package:flame/src/effects/provider_interfaces.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// An [AnchorEffect] that changes its target's anchor by the specified offset. /// diff --git a/packages/flame/lib/src/effects/anchor_to_effect.dart b/packages/flame/lib/src/effects/anchor_to_effect.dart index 8b881a59f18..d6e74b3adc0 100644 --- a/packages/flame/lib/src/effects/anchor_to_effect.dart +++ b/packages/flame/lib/src/effects/anchor_to_effect.dart @@ -2,7 +2,7 @@ import 'package:flame/src/anchor.dart'; import 'package:flame/src/effects/anchor_effect.dart'; import 'package:flame/src/effects/controllers/effect_controller.dart'; import 'package:flame/src/effects/provider_interfaces.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// An effect that moves the target's anchor to the specified value. /// diff --git a/packages/flame/lib/src/effects/move_by_effect.dart b/packages/flame/lib/src/effects/move_by_effect.dart index 1e1bbf7eb67..43052d04bff 100644 --- a/packages/flame/lib/src/effects/move_by_effect.dart +++ b/packages/flame/lib/src/effects/move_by_effect.dart @@ -1,7 +1,7 @@ import 'package:flame/src/effects/controllers/effect_controller.dart'; import 'package:flame/src/effects/move_effect.dart'; import 'package:flame/src/effects/provider_interfaces.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// A [MoveEffect] that moves its target by the specified offset vector. /// diff --git a/packages/flame/lib/src/effects/move_to_effect.dart b/packages/flame/lib/src/effects/move_to_effect.dart index 81e86db8612..89b1107d1ae 100644 --- a/packages/flame/lib/src/effects/move_to_effect.dart +++ b/packages/flame/lib/src/effects/move_to_effect.dart @@ -2,7 +2,7 @@ import 'package:flame/src/effects/controllers/effect_controller.dart'; import 'package:flame/src/effects/move_by_effect.dart'; import 'package:flame/src/effects/move_effect.dart'; import 'package:flame/src/effects/provider_interfaces.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// A [MoveEffect] that moves its target towards the given destination point. /// diff --git a/packages/flame/lib/src/experimental/geometry/shapes/rounded_rectangle.dart b/packages/flame/lib/src/experimental/geometry/shapes/rounded_rectangle.dart index 40aa5ff18f0..15dce372269 100644 --- a/packages/flame/lib/src/experimental/geometry/shapes/rounded_rectangle.dart +++ b/packages/flame/lib/src/experimental/geometry/shapes/rounded_rectangle.dart @@ -5,7 +5,7 @@ import 'package:flame/geometry.dart'; import 'package:flame/math.dart'; import 'package:flame/src/experimental/geometry/shapes/shape.dart'; import 'package:flame/src/game/transform2d.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// An axis-aligned rectangle with rounded corners. /// diff --git a/packages/flame/lib/src/experimental/geometry/shapes/shape.dart b/packages/flame/lib/src/experimental/geometry/shapes/shape.dart index e905e5c9989..c906cee0b43 100644 --- a/packages/flame/lib/src/experimental/geometry/shapes/shape.dart +++ b/packages/flame/lib/src/experimental/geometry/shapes/shape.dart @@ -6,7 +6,7 @@ import 'package:flame/src/experimental/geometry/shapes/polygon.dart'; import 'package:flame/src/experimental/geometry/shapes/rectangle.dart'; import 'package:flame/src/experimental/geometry/shapes/rounded_rectangle.dart'; import 'package:flame/src/game/transform2d.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// Base class for various 2D geometric primitives defined on a Cartesian /// coordinate plane. diff --git a/packages/flame/lib/src/extensions/matrix4.dart b/packages/flame/lib/src/extensions/matrix4.dart index 0c2efb24d0a..f875cce77ef 100644 --- a/packages/flame/lib/src/extensions/matrix4.dart +++ b/packages/flame/lib/src/extensions/matrix4.dart @@ -1,6 +1,6 @@ -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; -export 'package:vector_math/vector_math_64.dart' hide Colors; +export 'package:vector_math/vector_math.dart' hide Colors; extension Matrix4Extension on Matrix4 { /// A first row and first column value. diff --git a/packages/flame/lib/src/extensions/vector2.dart b/packages/flame/lib/src/extensions/vector2.dart index 5fbec23e2f2..aceae4b7925 100644 --- a/packages/flame/lib/src/extensions/vector2.dart +++ b/packages/flame/lib/src/extensions/vector2.dart @@ -1,9 +1,9 @@ import 'dart:math'; import 'dart:ui'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; -export 'package:vector_math/vector_math_64.dart' hide Colors; +export 'package:vector_math/vector_math.dart' hide Colors; extension Vector2Extension on Vector2 { /// This is a reusable vector that can be used within the [Vector2Extension] diff --git a/packages/flame/lib/src/game/notifying_vector2.dart b/packages/flame/lib/src/game/notifying_vector2.dart index aed3dcb4a21..649aab4cd96 100644 --- a/packages/flame/lib/src/game/notifying_vector2.dart +++ b/packages/flame/lib/src/game/notifying_vector2.dart @@ -1,5 +1,5 @@ import 'package:flutter/foundation.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// Extension of the standard [Vector2] class, implementing the [ChangeNotifier] /// functionality. This allows any interested party to be notified when the diff --git a/packages/flame/lib/src/game/transform2d.dart b/packages/flame/lib/src/game/transform2d.dart index edd84b18580..ebce5418f44 100644 --- a/packages/flame/lib/src/game/transform2d.dart +++ b/packages/flame/lib/src/game/transform2d.dart @@ -3,7 +3,7 @@ import 'dart:math' as math; import 'package:flame/geometry.dart' as geometry; import 'package:flame/src/game/notifying_vector2.dart'; import 'package:flutter/foundation.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// This class describes a generic 2D transform, which is a combination of /// translations, rotations, reflections and scaling. These transforms are diff --git a/packages/flame/lib/src/math/tmp_vector2.dart b/packages/flame/lib/src/math/tmp_vector2.dart index d3d112550d3..e2d07cf8c5b 100644 --- a/packages/flame/lib/src/math/tmp_vector2.dart +++ b/packages/flame/lib/src/math/tmp_vector2.dart @@ -1,5 +1,5 @@ import 'package:meta/meta.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// Use internally when you need a temporary [Vector2] object but don't want to /// instantiate a new one due to performance. diff --git a/packages/flame/lib/src/rendering/rotate3d_decorator.dart b/packages/flame/lib/src/rendering/rotate3d_decorator.dart index 83e0030aa77..52c4fef05ed 100644 --- a/packages/flame/lib/src/rendering/rotate3d_decorator.dart +++ b/packages/flame/lib/src/rendering/rotate3d_decorator.dart @@ -2,7 +2,7 @@ import 'dart:ui'; import 'package:flame/geometry.dart'; import 'package:flame/src/rendering/decorator.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// [Rotate3DDecorator] treats the underlying component as if it was a flat /// sheet of paper, and applies a 3D rotation to it. diff --git a/packages/flame/lib/src/rendering/shadow3d_decorator.dart b/packages/flame/lib/src/rendering/shadow3d_decorator.dart index 47c96a37d88..1e00569b812 100644 --- a/packages/flame/lib/src/rendering/shadow3d_decorator.dart +++ b/packages/flame/lib/src/rendering/shadow3d_decorator.dart @@ -2,7 +2,7 @@ import 'dart:ui'; import 'package:flame/src/palette.dart'; import 'package:flame/src/rendering/decorator.dart'; -import 'package:vector_math/vector_math_64.dart' show Matrix4, Vector2; +import 'package:vector_math/vector_math.dart' show Matrix4, Vector2; /// [Shadow3DDecorator] casts a realistic-looking shadow from the component /// onto the ground. diff --git a/packages/flame/test/camera/behaviors/viewport_aware_bounds_behavior_test.dart b/packages/flame/test/camera/behaviors/viewport_aware_bounds_behavior_test.dart index fe9fe7bce97..f6f7ffa8b4c 100644 --- a/packages/flame/test/camera/behaviors/viewport_aware_bounds_behavior_test.dart +++ b/packages/flame/test/camera/behaviors/viewport_aware_bounds_behavior_test.dart @@ -4,7 +4,7 @@ import 'package:flame/camera.dart'; import 'package:flame/experimental.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { group('ViewportAwareBoundsBehavior', () { diff --git a/packages/flame/test/camera/viewports/fixed_aspect_ratio_viewport_test.dart b/packages/flame/test/camera/viewports/fixed_aspect_ratio_viewport_test.dart index b8fff2cb71a..18c14461b88 100644 --- a/packages/flame/test/camera/viewports/fixed_aspect_ratio_viewport_test.dart +++ b/packages/flame/test/camera/viewports/fixed_aspect_ratio_viewport_test.dart @@ -4,7 +4,7 @@ import 'dart:ui'; import 'package:flame/camera.dart'; import 'package:flame_test/flame_test.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { group('FixedAspectRatioViewport', () { diff --git a/packages/flame/test/components/text_component_test.dart b/packages/flame/test/components/text_component_test.dart index 5c9dda23871..d1c3cfd5806 100644 --- a/packages/flame/test/components/text_component_test.dart +++ b/packages/flame/test/components/text_component_test.dart @@ -1,6 +1,6 @@ import 'package:flame/src/components/text_component.dart'; import 'package:test/test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { group('TextComponent', () { diff --git a/packages/flame/test/extensions/aabb_test.dart b/packages/flame/test/extensions/aabb_test.dart index f143e0091cf..fbd98107189 100644 --- a/packages/flame/test/extensions/aabb_test.dart +++ b/packages/flame/test/extensions/aabb_test.dart @@ -7,7 +7,7 @@ import 'package:test/test.dart'; void main() { group('Aabb2Extension', () { // aabb2 is an axis aligned bounding box between a min and a max - // see https://api.flutter.dev/flutter/vector_math_64/Aabb2-class.html + // see https://api.flutter.dev/flutter/vector_math/Aabb2-class.html // The extension is used to convert this bounding box to a rect. test('Default aabb constructor', () { final aab2 = Aabb2(); diff --git a/packages/flame/test/game/notifying_vector2_test.dart b/packages/flame/test/game/notifying_vector2_test.dart index 6f5eeeddecb..8ef0495089f 100644 --- a/packages/flame/test/game/notifying_vector2_test.dart +++ b/packages/flame/test/game/notifying_vector2_test.dart @@ -1,6 +1,6 @@ import 'package:flame/src/game/notifying_vector2.dart'; import 'package:test/test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { /// This helper function creates a "normal" Vector2 copy of [v1], diff --git a/packages/flame/test/game/transform2d_test.dart b/packages/flame/test/game/transform2d_test.dart index cb2e80eb01b..4eba2acc092 100644 --- a/packages/flame/test/game/transform2d_test.dart +++ b/packages/flame/test/game/transform2d_test.dart @@ -3,7 +3,7 @@ import 'dart:math' as math; import 'package:flame/geometry.dart'; import 'package:flame/src/game/transform2d.dart'; import 'package:test/test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { group('Transform2D', () { diff --git a/packages/flame_test/lib/src/close_to_aabb.dart b/packages/flame_test/lib/src/close_to_aabb.dart index 1bf79134a7c..92712a54fcb 100644 --- a/packages/flame_test/lib/src/close_to_aabb.dart +++ b/packages/flame_test/lib/src/close_to_aabb.dart @@ -1,5 +1,5 @@ import 'package:flutter_test/flutter_test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// Returns a matcher which checks if the argument is an axis-aligned bounding /// box sufficiently close (within distance [epsilon]) to [expected]. Example diff --git a/packages/flame_test/lib/src/close_to_vector.dart b/packages/flame_test/lib/src/close_to_vector.dart index b6b17a9bd3b..1525bf77023 100644 --- a/packages/flame_test/lib/src/close_to_vector.dart +++ b/packages/flame_test/lib/src/close_to_vector.dart @@ -1,5 +1,5 @@ import 'package:flutter_test/flutter_test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; /// Returns a matcher which checks if the argument is a vector within distance /// [epsilon] of [vector]. For example: diff --git a/packages/flame_test/test/close_to_aabb_test.dart b/packages/flame_test/test/close_to_aabb_test.dart index 3f1d4e2efcf..391daa01bd3 100644 --- a/packages/flame_test/test/close_to_aabb_test.dart +++ b/packages/flame_test/test/close_to_aabb_test.dart @@ -1,6 +1,6 @@ import 'package:flame_test/src/close_to_aabb.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { group('closeToAabb', () { diff --git a/packages/flame_test/test/close_to_vector_test.dart b/packages/flame_test/test/close_to_vector_test.dart index 2b519370227..80cbd7f7f65 100644 --- a/packages/flame_test/test/close_to_vector_test.dart +++ b/packages/flame_test/test/close_to_vector_test.dart @@ -1,6 +1,6 @@ import 'package:flame_test/src/close_to_vector.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:vector_math/vector_math_64.dart'; +import 'package:vector_math/vector_math.dart'; void main() { group('closeToVector', () {