Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BodyType.h
Go to the documentation of this file.
1
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2
// SPDX-FileCopyrightText: 2023 Jorrit Rouwe
3
// SPDX-License-Identifier: MIT
4
5
#pragma once
6
7
JPH_NAMESPACE_BEGIN
8
10
enum class
EBodyType
:
uint8
11
{
12
RigidBody
,
13
SoftBody
,
14
};
15
17
static
constexpr
uint
cBodyTypeCount = 2;
18
19
JPH_NAMESPACE_END
EBodyType
EBodyType
Type of body.
Definition:
BodyType.h:11
EBodyType::RigidBody
@ RigidBody
Rigid body consisting of a rigid shape.
EBodyType::SoftBody
@ SoftBody
Soft body consisting of a deformable shape.
uint8
std::uint8_t uint8
Definition:
Core.h:453
uint
unsigned int uint
Definition:
Core.h:452
JPH_NAMESPACE_END
#define JPH_NAMESPACE_END
Definition:
Core.h:378
JPH_NAMESPACE_BEGIN
#define JPH_NAMESPACE_BEGIN
Definition:
Core.h:372
Jolt
Physics
Body
BodyType.h
Generated by
1.9.5