MCPcopy Create free account
hub / github.com/DFHack/dfhack / Merge

Method Merge

plugins/changevein.cpp:79–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 bool Merge(VeinEdgeBitmask& other)
80 {
81 if (other.mat != this->mat)
82 return false;
83
84 for (uint8_t i = 0; i < 4; i++)
85 {
86 this->edges[i] |= other.edges[i];
87 this->corners[i] |= other.corners[i];
88 }
89
90 return true;
91 }
92
93 bool Merge(df::block_square_event_mineralst* event)
94 {

Callers 1

ChangeSameBlockVeinsFunction · 0.45

Calls 1

VeinEdgeBitmaskClass · 0.85

Tested by

no test coverage detected