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

Method GetWorldBoundingBox

trinity/Interior/Tr2InteriorPlaceable.cpp:125–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125bool Tr2InteriorPlaceable::GetWorldBoundingBox( Vector3& min, Vector3& max ) const
126{
127 // Get the local bounding box min & max
128 if( !GetLocalBoundingBox( min, max ) )
129 {
130 return false;
131 }
132
133 BoundingBoxTransform( min, max, m_transform );
134
135 return true;
136}
137
138bool Tr2InteriorPlaceable::IsBoundingBoxReady( void ) const
139{

Callers

nothing calls this directly

Calls 2

BoundingBoxTransformFunction · 0.85
GetLocalBoundingBoxFunction · 0.50

Tested by

no test coverage detected