normalizeInto method Null safety
- Vector2 out
Normalize vector into out
.
Implementation
Vector2 normalizeInto(Vector2 out) {
out
..setFrom(this)
..normalize();
return out;
}
Normalize vector into out
.
Vector2 normalizeInto(Vector2 out) {
out
..setFrom(this)
..normalize();
return out;
}