diff options
author | Aki <please@ignore.pl> | 2021-10-01 22:52:04 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-01 23:45:09 +0200 |
commit | 5e6773397cc101c7c3d08482efc456daa91734e9 (patch) | |
tree | d6a116bb2c12dab6ff5e0f212676a9ac6bd19346 /Opcode/OPC_TriTriOverlap.h | |
parent | c2d2c3551501110fddd78674d5435bfaa70382a3 (diff) | |
download | starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.zip starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.gz starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.bz2 |
Switched to use only one version of Opcode
Diffstat (limited to 'Opcode/OPC_TriTriOverlap.h')
-rw-r--r-- | Opcode/OPC_TriTriOverlap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Opcode/OPC_TriTriOverlap.h b/Opcode/OPC_TriTriOverlap.h index ccc8161..1789566 100644 --- a/Opcode/OPC_TriTriOverlap.h +++ b/Opcode/OPC_TriTriOverlap.h @@ -11,7 +11,7 @@ b=c; \
}
-//! Edge to edge test based on Franlin Antonio's gem: "Faster Line Segment Intersection", in Graphics Gems III, pp. 199-202
+//! Edge to edge test based on Franlin Antonio's gem: "Faster Line IceSegment Intersection", in Graphics Gems III, pp. 199-202
#define EDGE_EDGE_TEST(V0, U0, U1) \
Bx = U0[i0] - U1[i0]; \
By = U0[i1] - U1[i1]; \
@@ -186,7 +186,7 @@ inline_ BOOL AABBTreeCollider::TriTriOverlap(const IcePoint& V0, const IcePoint& IcePoint E2 = V2 - V0;
const IcePoint N1 = E1 ^ E2;
const float d1 =-N1 | V0;
- // Plane equation 1: N1.X+d1=0
+ // IcePlane equation 1: N1.X+d1=0
// Put U0,U1,U2 into plane equation 1 to compute signed distances to the plane
float du0 = (N1|U0) + d1;
|