menu
vector_math package
documentation
vector_math_64.dart
Vector2
scale method
scale method
dark_mode
light_mode
scale
method
void
scale
(
double
arg
)
Scale this by
arg
.
Implementation
void scale(double arg) { _v2storage[1] *= arg; _v2storage[0] *= arg; }
vector_math package
documentation
vector_math_64
Vector2
scale method
Vector2 class