LoadSaveSceneTest.h 581 B

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