CapsuleVsBoxTest.h 464 B

12345678910111213141516
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. #include <Tests/Test.h>
  5. // Does a very long capsule vs rotated embedded box test, this was a repro for a bug and can be used to test bug regression
  6. class CapsuleVsBoxTest : public Test
  7. {
  8. public:
  9. JPH_DECLARE_RTTI_VIRTUAL(CapsuleVsBoxTest)
  10. // Update the test, called before the physics update
  11. virtual void PrePhysicsUpdate(const PreUpdateParams &inParams) override;
  12. };