BackFaceMode.h 390 B

123456789101112131415
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. namespace JPH {
  5. /// How collision detection functions will treat back facing triangles
  6. enum class EBackFaceMode : uint8
  7. {
  8. IgnoreBackFaces, ///< Ignore collision with back facing surfaces/triangles
  9. CollideWithBackFaces, ///< Collide with back facing surfaces/triangles
  10. };
  11. } // JPH