Back to class index
| Sphere::ExtremePointSyntaxfloat4 Sphere::ExtremePoint(const float4 &direction) const; [6 lines of code]float4 Sphere::ExtremePoint(const float4 &direction, float &projectionDistance) const; [6 lines of code] Computes the extreme point of this Sphere in the given direction. An extreme point is a farthest point of this Sphere in the given direction. For a Sphere, this point is unique. Parametersconst float4 &directionThe direction vector of the direction to find the extreme point. This vector may be unnormalized, but may not be null. Return ValueThe extreme point of this Sphere in the given direction. |