EActivation.h 400 B

123456789101112131415
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. JPH_NAMESPACE_BEGIN
  5. /// Enum used by AddBody to determine if the body needs to be initially active
  6. enum class EActivation
  7. {
  8. Activate, ///< Activate the body, making it part of the simulation
  9. DontActivate ///< Leave activation state as it is (will not deactivate an active body)
  10. };
  11. JPH_NAMESPACE_END