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

Method HasMode

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

Source from the content-addressed store, hash-verified

9using namespace CSG;
10
11bool CSG::Mesh::HasMode(Mode mode) const
12{
13 for (int32 i = 0; i < _brushesMeta.Count(); i++)
14 {
15 if (_brushesMeta[i].Mode == mode)
16 return true;
17 }
18
19 return false;
20}
21
22void CSG::Mesh::PerformOperation(Mesh* other)
23{

Callers 1

CombineFunction · 0.80

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected