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

Method GetBoundingBox

trinity/Tr2MeshBase.cpp:355–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355bool Tr2MeshBase::GetBoundingBox( Vector3& min, Vector3& max ) const
356{
357 if( auto aabb = GetBounds() )
358 {
359 min = aabb.m_min;
360 max = aabb.m_max;
361 return true;
362 }
363 return false;
364}
365
366// --------------------------------------------------------------------------------
367bool Tr2MeshBase::GetDisplay() const

Callers 1

CacheBoundsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected