menu
flare_flutter package
documentation
base/math/vec2d.dart
Vec2D
squaredLength static method
squaredLength static method
dark_mode
light_mode
squaredLength
static method
double
squaredLength
(
Vec2D
a
)
Implementation
static double squaredLength(Vec2D a) { double x = a[0]; double y = a[1]; return x * x + y * y; }
flare_flutter package
documentation
base/math/vec2d
Vec2D
squaredLength static method
Vec2D class