Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
MathTypes.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
8
9class Vec3;
10class DVec3;
11class Vec4;
12class UVec4;
13class BVec16;
14class Quat;
15class Mat44;
16class DMat44;
17
18// Types to use for passing arguments to functions
19using Vec3Arg = const Vec3;
20#ifdef JPH_USE_AVX
21 using DVec3Arg = const DVec3;
22#else
23 using DVec3Arg = const DVec3 &;
24#endif
25using Vec4Arg = const Vec4;
26using UVec4Arg = const UVec4;
27using BVec16Arg = const BVec16;
28using QuatArg = const Quat;
29using Mat44Arg = const Mat44 &;
30using DMat44Arg = const DMat44 &;
31
#define JPH_NAMESPACE_END
Definition Core.h:414
#define JPH_NAMESPACE_BEGIN
Definition Core.h:408
A vector consisting of 16 bytes.
Definition BVec16.h:11
Holds a 4x4 matrix of floats with the last column consisting of doubles.
Definition DMat44.h:13
Definition DVec3.h:14
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition Mat44.h:13
Definition Quat.h:33
Definition UVec4.h:12
Definition Vec3.h:17
Definition Vec4.h:14