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

Class PointIntersection

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

Source from the content-addressed store, hash-verified

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();

Callers 1

BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected