BackFaceMode.h 468 B

12345678910111213141516
  1. // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
  2. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  3. // SPDX-License-Identifier: MIT
  4. #pragma once
  5. JPH_NAMESPACE_BEGIN
  6. /// How collision detection functions will treat back facing triangles
  7. enum class EBackFaceMode : uint8
  8. {
  9. IgnoreBackFaces, ///< Ignore collision with back facing surfaces/triangles
  10. CollideWithBackFaces, ///< Collide with back facing surfaces/triangles
  11. };
  12. JPH_NAMESPACE_END