Back to class index
| Frustum::ContainsSyntaxbool Frustum::Contains(const float4 &point) const; [41 lines of code]bool Frustum::Contains(const LineSegment &lineSegment) const; [21 lines of code] bool Frustum::Contains(const Triangle &triangle) const; [24 lines of code] bool Frustum::Contains(const Polygon &polygon) const; [7 lines of code] bool Frustum::Contains(const AABB &aabb) const; [8 lines of code] bool Frustum::Contains(const OBB &obb) const; [8 lines of code] bool Frustum::Contains(const Frustum &frustum) const; [8 lines of code] bool Frustum::Contains(const Polyhedron &polyhedron) const; [9 lines of code] Tests if the given object is fully contained inside this Frustum. This function returns true if the given object lies inside this Frustum, and false otherwise. Note The comparison is performed using less-or-equal, so the faces of this Frustum count as being inside, but due to float inaccuracies, this cannot generally be relied upon. See AlsoWork in progress:Todo: in bool Frustum::Contains(const float4 &point) const: Add Contains(Circle/Disc/Sphere/Capsule). Todo: in bool Frustum::Contains(const float4 &point) const: Make Frustum::Contains agnostic of the projection settings. |