8 references to LengthSquared
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (4)
123
if (axisZ.
LengthSquared
() < BillboardEpsilon)
154
if (axisZ.
LengthSquared
() < BillboardEpsilon)
185
if (faceDir.
LengthSquared
() < BillboardEpsilon)
245
if (faceDir.
LengthSquared
() < BillboardEpsilon)
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (1)
132
Vector128<float> lengthSquared = Vector128.Create(value.Normal.
LengthSquared
());
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (3)
500
public static float DistanceSquared(Vector3 value1, Vector3 value2) => (value1 - value2).
LengthSquared
();
1066
/// <altmember cref="
LengthSquared
" />
1068
public readonly float Length() => float.Sqrt(
LengthSquared
());