BroadPhaseCastRayTest.h 498 B

12345678910111213141516171819
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. #include <Tests/BroadPhase/BroadPhaseTest.h>
  5. // Simple test that casts a ray through the broadphase
  6. class BroadPhaseCastRayTest : public BroadPhaseTest
  7. {
  8. public:
  9. JPH_DECLARE_RTTI_VIRTUAL(BroadPhaseCastRayTest)
  10. // Initialize the test
  11. virtual void Initialize() override;
  12. // Update the test, called before the physics update
  13. virtual void PrePhysicsUpdate(const PreUpdateParams &inParams) override;
  14. };