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