GetMagnitudeSquared

Advanced function

inline float GetMagnitudeSquared() const

Returns the squared magnitude of the vector.

Other functions of the class Vec2D
GetMagnitude
Returns the magnitude (length) of the vector
GetAngle
Returns the angle of the vector
Normalized
Returns a normalized copy of the vector

Advanced functions

GetMagnitudeSquared
Returns the squared magnitude of the vector


Questions about GetMagnitudeSquared? Click here.