menu
three_js_math package
documentation
vector/vector2.dart
Vector2
manhattanDistanceTo method
manhattanDistanceTo method
dark_mode
light_mode
manhattanDistanceTo
method
num
manhattanDistanceTo
(
Vector2
v
)
Implementation
num manhattanDistanceTo(Vector2 v) { return ((x - v.x).abs() + (y - v.y).abs()).toDouble(); }
three_js_math package
documentation
vector/vector2
Vector2
manhattanDistanceTo method
Vector2 class