menu
easy_physics_2d package
documentation
gravity_field.dart
innerProduct function
innerProduct function
dark_mode
light_mode
innerProduct
function
double
innerProduct
(
List
vec1
,
List
vec2
)
Implementation
double innerProduct(List vec1, List vec2) { return vec1[0] * vec2[0] + vec1[1] * vec2[1]; }
easy_physics_2d package
documentation
gravity_field
innerProduct function
gravity_field library