0.2.0-dev Download ZIP
17 lines ·659 B Raw
| 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 to treat active/inactive edges. |
| 10 | /// An active edge is an edge that either has no neighbouring edge or if the angle between the two connecting faces is too large, see: ActiveEdges |
| 11 | enum class EActiveEdgeMode : uint8 |
| 12 | { |
| 13 | CollideOnlyWithActive, ///< Do not collide with inactive edges. For physics simulation, this gives less ghost collisions. |
| 14 | CollideWithAll, ///< Collide with all edges. Use this when you're interested in all collisions. |
| 15 | }; |
| 16 | |
| 17 | JPH_NAMESPACE_END |