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

Method BoundingBoxReset

trinity/Interior/Tr2InteriorPlaceable.cpp:117–123  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Resets the object's bounding box, removing any overrides. --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

115// Resets the object's bounding box, removing any overrides.
116// --------------------------------------------------------------------------------
117void Tr2InteriorPlaceable::BoundingBoxReset()
118{
119 m_isBoundingBoxModified = false;
120 BoundingBoxInitialize( m_minBounds, m_maxBounds );
121
122 RebuildVolume();
123}
124
125bool Tr2InteriorPlaceable::GetWorldBoundingBox( Vector3& min, Vector3& max ) const
126{

Callers

nothing calls this directly

Calls 1

BoundingBoxInitializeFunction · 0.85

Tested by

no test coverage detected