| 27 | }; |
| 28 | |
| 29 | struct PointIntersection |
| 30 | { |
| 31 | // TODO: optimize this shit? |
| 32 | int32 VertexIndex; |
| 33 | Array<EdgeIntersection> Edges; |
| 34 | Array<int32> PlaneIndices; |
| 35 | |
| 36 | PointIntersection() |
| 37 | { |
| 38 | VertexIndex = INVALID_INDEX; |
| 39 | } |
| 40 | |
| 41 | PointIntersection(int32 vertexIndex, const Array<int32>& planes) |
| 42 | { |
| 43 | VertexIndex = vertexIndex; |
| 44 | PlaneIndices = planes; |
| 45 | } |
| 46 | }; |
| 47 | |
| 48 | // Clear |
| 49 | _bounds.Clear(); |