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