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