BsEditorUtility.h 366 B

1234567891011121314151617
  1. #pragma once
  2. #include "BsEditorPrerequisites.h"
  3. #include "BsAABox.h"
  4. namespace BansheeEngine
  5. {
  6. class BS_ED_EXPORT EditorUtility
  7. {
  8. public:
  9. static AABox calculateBounds(const HSceneObject& object);
  10. static AABox calculateBounds(const Vector<HSceneObject>& objects);
  11. private:
  12. static bool calculateMeshBounds(const HSceneObject& object, AABox& bounds);
  13. };
  14. }