6 #include "VectorMath.h"
16 const float EpsilonMeters = 0.0009f;
27 v2 intersectionPrevOuter;
28 v2 intersectionNextOuter;
31 u16 lastIndexExclusive;
37 bool IsCoincidentModuloZ(
const v2& p,
const v2& q,
const float epsilon);
39 void CalculateVertexIndicesForCurveInsertion(
40 const std::vector<RouteVert>& verts,
41 float curveAngleThresholdDot,
42 std::vector<size_t>& outIndices);
44 void CalculateInteriorCurveVerticesAndAddToCollection(
48 int bezierSegmentCount,
49 std::vector<CurveData>& addToCurveDatas,
50 std::vector<RouteVert>& addToVertices,
51 std::vector<u16>& addToIndices);
53 void CorrectVerticesThatIntersectWithCurves(
54 const std::vector<CurveData>& curveDatas,
55 std::vector<RouteVert>& verts);