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