MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / EdgeIntersection

Class EdgeIntersection

Source/Engine/CSG/CSGMesh.Build.cpp:11–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9void 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 {

Callers 1

BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected