LoadSaveSceneTest.h 496 B

1234567891011121314151617181920
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. #include <Tests/Test.h>
  5. #include <Physics/PhysicsScene.h>
  6. // This test tests the serialization system by creating a number of shapes, storing them, loading them and then simulating them
  7. class LoadSaveSceneTest : public Test
  8. {
  9. public:
  10. JPH_DECLARE_RTTI_VIRTUAL(LoadSaveSceneTest)
  11. // See: Test
  12. virtual void Initialize() override;
  13. // Create a test scene
  14. static Ref<PhysicsScene> sCreateScene();
  15. };