menu
openworld package
documentation
three_dart/three3d/math/index.dart
Vector2
manhattanDistanceTo method
manhattanDistanceTo method
dark_mode
light_mode
manhattanDistanceTo
method
num
manhattanDistanceTo
(
Vector2
v
)
Implementation
num manhattanDistanceTo(Vector2 v) { return (Math.abs(x - v.x) + Math.abs(y - v.y)).toDouble(); }
openworld package
documentation
three_dart/three3d/math/index
Vector2
manhattanDistanceTo method
Vector2 class