gwnavruntime/queries/utils/convexquadintersector.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_ConvexQuadIntersector_H
10 #define Navigation_ConvexQuadIntersector_H
21 class ConvexQuadIntersector
26 ConvexQuadIntersector(const Vec3f& a, const Vec3f& b, const Vec3f& c, const Vec3f& d,
KyFloat32 integerPrecision)
32 m_integerPrecision = integerPrecision;
37 const Vec3f startEdgePos(startEdgeCoordPos.x * m_integerPrecision, startEdgeCoordPos.y * m_integerPrecision, 0.f);
38 const Vec3f endEdgePos(endEdgeCoordPos.x * m_integerPrecision, endEdgeCoordPos.y * m_integerPrecision, 0.f);
40 return Intersections::SegmentVsConvexQuad2D(startEdgePos, endEdgePos, m_a, m_b, m_c, m_d);
55 #endif //Navigation_ConvexQuadIntersector_H
Vec2LL CoordPos64
A type that represents the position of a point within the 2D integer grid.
Definition: navmeshtypes.h:19
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43