Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/jolt_physics/Jolt/Physics/Collision/BackFaceMode.h
9912 views
1
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
3
// SPDX-License-Identifier: MIT
4
5
#pragma once
6
7
JPH_NAMESPACE_BEGIN
8
9
/// How collision detection functions will treat back facing triangles
10
enum class EBackFaceMode : uint8
11
{
12
IgnoreBackFaces, ///< Ignore collision with back facing surfaces/triangles
13
CollideWithBackFaces, ///< Collide with back facing surfaces/triangles
14
};
15
16
JPH_NAMESPACE_END
17
18