MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / _findBucket

Method _findBucket

Engine/source/forest/forestDataFile.cpp:251–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251ForestCell* ForestData::_findBucket( const Point2I &key ) const
252{
253 BucketTable::ConstIterator iter = mBuckets.find( key );
254
255 if ( iter != mBuckets.end() )
256 return iter->value;
257 else
258 return NULL;
259}
260
261ForestCell* ForestData::_findOrCreateBucket( const Point3F &pos )
262{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected