MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetNormalized

Method GetNormalized

Source/Engine/Core/Math/Vector2.h:230–235  ·  view source on GitHub ↗

Calculates a normalized vector that has length equal to 1.

Source from the content-addressed store, hash-verified

228 /// Calculates a normalized vector that has length equal to 1.
229 /// </summary>
230 Vector2Base GetNormalized() const
231 {
232 Vector2Base result(X, Y);
233 result.Normalize();
234 return result;
235 }
236
237public:
238 /// <summary>

Callers 6

CalculateSoundMixMethod · 0.45
SolveTwoBoneIKMethod · 0.45
ProcessGroupAnimationMethod · 0.45
FindBestAxisVectorsMethod · 0.45
IsPointOnViewMethod · 0.45
TriangulateFunction · 0.45

Calls 1

NormalizeMethod · 0.45

Tested by

no test coverage detected