CapsuleVsBoxTest.h 543 B

1234567891011121314151617
  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. // 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
  7. class CapsuleVsBoxTest : public Test
  8. {
  9. public:
  10. JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, CapsuleVsBoxTest)
  11. // Update the test, called before the physics update
  12. virtual void PrePhysicsUpdate(const PreUpdateParams &inParams) override;
  13. };