BroadPhaseCastRayTest.h 562 B

1234567891011121314151617181920
  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/BroadPhase/BroadPhaseTest.h>
  6. // Simple test that casts a ray through the broadphase
  7. class BroadPhaseCastRayTest : public BroadPhaseTest
  8. {
  9. public:
  10. JPH_DECLARE_RTTI_VIRTUAL(BroadPhaseCastRayTest)
  11. // Initialize the test
  12. virtual void Initialize() override;
  13. // Update the test, called before the physics update
  14. virtual void PrePhysicsUpdate(const PreUpdateParams &inParams) override;
  15. };