ScullingQuery.cpp 268 B

123456789101112131415
  1. //
  2. // Created by jovian on 15/08/17.
  3. //
  4. #include "ScullingQuery.h"
  5. bool ScullingQuery::ReportFixture(b2Fixture *fixture) {
  6. m_tab.push_back(fixture->GetBody());
  7. return true;
  8. }
  9. const std::vector<b2Body *> &ScullingQuery::getTab() const {
  10. return m_tab;
  11. }