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

Method GetWorldBoundingBox

trinity/Interior/Tr2IntSkinnedObject.cpp:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138bool Tr2IntSkinnedObject::GetWorldBoundingBox( Vector3& min, Vector3& max ) const
139{
140 if( !GetLocalBoundingBox( min, max ) )
141 {
142 return false;
143 }
144
145 BoundingBoxTransform( min, max, GetSkinningTransform() );
146
147 return true;
148}
149
150bool Tr2IntSkinnedObject::IsBoundingBoxReady( void ) const
151{

Callers 1

UpdateValueMethod · 0.45

Calls 2

BoundingBoxTransformFunction · 0.85
GetLocalBoundingBoxFunction · 0.50

Tested by

no test coverage detected