mirror of
https://github.com/microsoft/DirectXMath
synced 2024-11-08 13:40:09 +00:00
This commit is contained in:
parent
ce4eb221f2
commit
4bf02b8b2e
@ -4491,7 +4491,7 @@ namespace TriangleTests
|
|||||||
|
|
||||||
// Ensure robustness with co-planar triangles by zeroing small distances.
|
// Ensure robustness with co-planar triangles by zeroing small distances.
|
||||||
uint32_t ADistIsZeroCR;
|
uint32_t ADistIsZeroCR;
|
||||||
XMVECTOR ADistIsZero = XMVectorGreaterR(&ADistIsZeroCR, g_RayEpsilon, XMVectorAbs(BDist));
|
XMVECTOR ADistIsZero = XMVectorGreaterR(&ADistIsZeroCR, g_RayEpsilon, XMVectorAbs(ADist));
|
||||||
ADist = XMVectorSelect(ADist, Zero, ADistIsZero);
|
ADist = XMVectorSelect(ADist, Zero, ADistIsZero);
|
||||||
|
|
||||||
uint32_t ADistIsLessCR;
|
uint32_t ADistIsLessCR;
|
||||||
|
Loading…
Reference in New Issue
Block a user