AllowedDOFsTest.h 522 B

123456789101112131415161718192021
  1. // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
  2. // SPDX-FileCopyrightText: 2023 Jorrit Rouwe
  3. // SPDX-License-Identifier: MIT
  4. #pragma once
  5. #include <Tests/Test.h>
  6. // This test tests all permutations of allowed degrees of freedom (see EAllowedDOFs)
  7. class AllowedDOFsTest : public Test
  8. {
  9. public:
  10. JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, AllowedDOFsTest)
  11. // See: Test
  12. virtual void Initialize() override;
  13. virtual void PostPhysicsUpdate(float inDeltaTime) override;
  14. private:
  15. BodyIDVector mBodies;
  16. };