Small set of util functions for PolygonPrism.
More...
|
AZ::Aabb | CalculateAabb (const AZ::PolygonPrism &polygonPrism, const AZ::Transform &transform) |
| Routine to calculate Aabb for orientated polygon prism shape.
|
|
bool | IsPointInside (const AZ::PolygonPrism &polygonPrism, const AZ::Vector3 &point, const AZ::Transform &transform) |
| Return if a point in world space is contained within a polygon prism shape.
|
|
float | DistanceSquaredFromPoint (const AZ::PolygonPrism &polygonPrism, const AZ::Vector3 &point, const AZ::Transform &transform) |
| Return distance squared from point in world space from polygon prism shape.
|
|
bool | IntersectRay (AZStd::vector< AZ::Vector3 > triangles, const AZ::Transform &worldFromLocal, const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) |
| Return if a ray is intersecting the polygon prism.
|
|
Small set of util functions for PolygonPrism.