4 references to BillboardEpsilon
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (4)
743
axisZ = (Vector128.LengthSquared(axisZ) <
BillboardEpsilon
) ? -(cameraForwardVector.AsVector128()) : Vector128.Normalize(axisZ);
774
axisZ = (Vector128.LengthSquared(axisZ) <
BillboardEpsilon
) ? cameraForwardVector.AsVector128() : Vector128.Normalize(axisZ);
806
faceDir = (Vector128.LengthSquared(faceDir) <
BillboardEpsilon
) ? -cameraForwardVector.AsVector128() : Vector128.Normalize(faceDir);
868
faceDir = (Vector128.LengthSquared(faceDir) <
BillboardEpsilon
) ? cameraForwardVector.AsVector128() : Vector128.Normalize(faceDir);