Vec2.Magnitude

float Magnitude{ get }

Description

Magnitude is the length of the vector! Or the distance from the origin to this point. Uses Math.Sqrt, so it’s not dirt cheap or anything.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!