7 ref array<SCR_ForestGeneratorLine> m_aLines = {};
8 ref array<vector> m_aPoints = {};
9 ref array<IEntitySource> m_aPresentRoadShapes = {};
17 void GetBounds(out vector mins, out vector maxs)
19 array<vector> points = {};
20 points.Insert(m_Line1.p1.m_vPos);
21 points.Insert(m_Line1.p2.m_vPos);
22 points.Insert(m_Line2.p2.m_vPos);
23 points.Insert(m_Line3.p2.m_vPos);
24 float minX =
float.MAX;
25 float maxX = -
float.MAX;
26 float minZ =
float.MAX;
27 float maxZ = -
float.MAX;
29 foreach (vector point : points)