normalize property
Coord
get
normalize
Implementation
Coord get normalize {
final maxValue = max($1.abs(), $2.abs());
return ($1 / maxValue, $2 / maxValue);
}
Coord get normalize {
final maxValue = max($1.abs(), $2.abs());
return ($1 / maxValue, $2 / maxValue);
}