EnhancedInternalEdgeRemovalTest.h 548 B

1234567891011121314151617181920
  1. // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
  2. // SPDX-FileCopyrightText: 2024 Jorrit Rouwe
  3. // SPDX-License-Identifier: MIT
  4. #pragma once
  5. #include <Tests/Test.h>
  6. /// Demonstrates the enhanced internal edge removal mode by sliding two shapes over a mesh that has only active edges
  7. class EnhancedInternalEdgeRemovalTest : public Test
  8. {
  9. public:
  10. JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, EnhancedInternalEdgeRemovalTest)
  11. // See: Test
  12. virtual void Initialize() override;
  13. private:
  14. void CreateSlidingObjects(RVec3Arg inStart);
  15. };