lengthSquared property
int
get
lengthSquared
Length of the vector squared; useful for length comparisons
Implementation
int get lengthSquared => (x * x) + (y * y);
Length of the vector squared; useful for length comparisons
int get lengthSquared => (x * x) + (y * y);