MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsGoodForArea

Method IsGoodForArea

trinity/Raytracing/Tr2RaytracingGeometry.cpp:255–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255bool Tr2RaytracingMesh::IsGoodForArea( uint32_t area ) const
256{
257 if( !m_geometry || !m_geometry->IsGood() )
258 {
259 return false;
260 }
261 auto data = GetCurrentLodData();
262 if( !data )
263 {
264 return false;
265 }
266 return area < data->m_areas.size();
267}
268
269
270bool Tr2RaytracingMesh::GetAndResetDirtyFlag()

Callers 1

AddGeometryMethod · 0.80

Calls 2

sizeMethod · 0.80
IsGoodMethod · 0.45

Tested by

no test coverage detected