| 9 | void CSG::Mesh::Build(Brush* parentBrush) |
| 10 | { |
| 11 | struct EdgeIntersection |
| 12 | { |
| 13 | int32 EdgeIndex; |
| 14 | int32 PlaneIndices[2]; |
| 15 | |
| 16 | EdgeIntersection() |
| 17 | { |
| 18 | EdgeIndex = INVALID_INDEX; |
| 19 | } |
| 20 | |
| 21 | EdgeIntersection(int32 edgeIndex, int32 planeIndexA, int32 planeIndexB) |
| 22 | { |
| 23 | EdgeIndex = edgeIndex; |
| 24 | PlaneIndices[0] = planeIndexA; |
| 25 | PlaneIndices[1] = planeIndexB; |
| 26 | } |
| 27 | }; |
| 28 | |
| 29 | struct PointIntersection |
| 30 | { |