ActivateDuringUpdateTest.h 643 B

1234567891011121314151617181920212223
  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. class ActivateDuringUpdateTest : public Test
  7. {
  8. public:
  9. JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, ActivateDuringUpdateTest)
  10. // Description of the test
  11. virtual const char * GetDescription() const override
  12. {
  13. return "Three initially colliding boxes where only 1 is awake and has a high velocity.\n"
  14. "The 2nd and 3rd box should wake up at the same time and not pass through each other.";
  15. }
  16. // Initialize the test
  17. virtual void Initialize() override;
  18. };