Back to class index
| Frustum::DistanceSyntaxfloat Frustum::Distance(const float4 &point) const; [5 lines of code]Computes the distance between this Frustum and the given object. This function finds the nearest pair of points on this and the given object, and computes their distance. If the two objects intersect, or one object is contained inside the other, the returned distance is zero. See AlsoWork in progress:Todo: in float Frustum::Distance(const float4 &point) const: Add Frustum::Distance(Line/Ray/LineSegment/Plane/Triangle/Polygon/Circle/Disc/AABB/OBB/Capsule/Frustum/Polyhedron). |