|Back to class index|
Syntaxbool Plane::IsOnPositiveSide(const float3 &point) const; [4 lines of code]
Tests if the given point lies on the positive side of this plane.
A plane divides the space in three sets: the negative halfspace, the plane itself, and the positive halfspace. The normal vector of the plane points towards the positive halfspace.
This function returns true if the given point lies either on this plane itself, or in the positive halfspace of this plane.
4.105nsecs/call ≈ 243.59M calls/second ≈ 4.06M calls/frame (@ 60fps).
Leave a Comment