Back to class index
| Plane::AreOnSameSideSyntaxbool Plane::AreOnSameSide(const float3 &p1, const float3 &p2) const; [4 lines of code]Tests if two points are on the same side of this plane. Return ValueThis function returns true if both p1 and p2 are on the positive side or this plane, or if both p1 and p2 are on the negative side of this plane. Performance4.105nsecs/call ≈ 243.59M calls/second ≈ 4.06M calls/frame (@ 60fps). See AlsoLeave a Comment |