Back to class index
| Frustum::ClosestPointSyntaxfloat4 Frustum::ClosestPoint(const float4 &point) const; [37 lines of code]Computes the closest point inside this Frustum to the given point. If the target point lies inside this Frustum, then that point is returned. See AlsoWork in progress:Todo: in float4 Frustum::ClosestPoint(const float4 &point) const: Add ClosestPoint(Line/Ray/LineSegment/Plane/Triangle/Polygon/Circle/Disc/AABB/OBB/Sphere/Capsule/Frustum/Polyhedron). Todo: in float4 Frustum::ClosestPoint(const float4 &point) const: Improve numerical stability enough to do effectively this - but do so without temporary memory allocations. |