1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00
Files
godot/thirdparty/jolt_physics/Jolt/Physics/Collision/BackFaceMode.h
Mikael Hermansson d470c2ac6a Add Jolt Physics as an alternative 3D physics engine
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2024-12-11 13:57:25 +01:00

17 lines
468 B
C++

// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
// SPDX-License-Identifier: MIT
#pragma once
JPH_NAMESPACE_BEGIN
/// How collision detection functions will treat back facing triangles
enum class EBackFaceMode : uint8
{
IgnoreBackFaces, ///< Ignore collision with back facing surfaces/triangles
CollideWithBackFaces, ///< Collide with back facing surfaces/triangles
};
JPH_NAMESPACE_END