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 Quat;
14class Mat44;
15class DMat44;
16
17// Types to use for passing arguments to functions
18using Vec3Arg = const Vec3;
19#ifdef JPH_USE_AVX
20 using DVec3Arg = const DVec3;
21#else
22 using DVec3Arg = const DVec3 &;
23#endif
24using Vec4Arg = const Vec4;
25using UVec4Arg = const UVec4;
26using QuatArg = const Quat;
27using Mat44Arg = const Mat44 &;
28using DMat44Arg = const DMat44 &;
29
#define JPH_NAMESPACE_END
Definition Core.h:378
#define JPH_NAMESPACE_BEGIN
Definition Core.h:372
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