Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
Swizzle.h
Go to the documentation of this file.
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
10
enum
11
{
12
SWIZZLE_X
= 0,
13
SWIZZLE_Y
= 1,
14
SWIZZLE_Z
= 2,
15
SWIZZLE_W
= 3,
16
SWIZZLE_UNUSED
= 2,
17
};
18
19
JPH_NAMESPACE_END
JPH_NAMESPACE_END
#define JPH_NAMESPACE_END
Definition:
Core.h:367
JPH_NAMESPACE_BEGIN
#define JPH_NAMESPACE_BEGIN
Definition:
Core.h:361
SWIZZLE_Z
@ SWIZZLE_Z
Use the Z component.
Definition:
Swizzle.h:14
SWIZZLE_W
@ SWIZZLE_W
Use the W component.
Definition:
Swizzle.h:15
SWIZZLE_X
@ SWIZZLE_X
Use the X component.
Definition:
Swizzle.h:12
SWIZZLE_UNUSED
@ SWIZZLE_UNUSED
We always use the Z component when we don't specifically want to initialize a value,...
Definition:
Swizzle.h:16
SWIZZLE_Y
@ SWIZZLE_Y
Use the Y component.
Definition:
Swizzle.h:13
Jolt
Math
Swizzle.h
Generated by
1.9.5