Open 3D Engine LmbrCentral Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Small set of util functions for PolygonPrism. More...
Functions | |
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.