//------------------------------- GetBestSupportingSpot ----------------------- //----------------------------------------------------------------------------- Vector2D Prior__SupportSpotCalculator::GetBestSupportingSpot() { if (m_pBestSupportingSpot) return m_pBestSupportingSpot->m_vPos; else return DetermineBestSupportingPosition(); }
//------------------------------- GetBestSupportingSpot ----------------------- //----------------------------------------------------------------------------- b2Vec2 SupportSpotCalculator::GetBestSupportingSpot() { if (bestSupportSpot) { return bestSupportSpot->position; } else { return DetermineBestSupportingPosition(); } }
//------------------------------- GetBestSupportingSpot ----------------------- //----------------------------------------------------------------------------- Vector2D SSC2::GetBestSupportingSpot() { if (m_pBestSupportingSpot) { return m_pBestSupportingSpot->m_vPos; } else { return DetermineBestSupportingPosition(); } }